Computer Studies
Complete the following QBASIC program:
CLS
PRINT "Enter two numbers"
INPUT ………..
……….. = A+B
……….. = A*B
PRINT "The sum of two numbers ="; S
PRINT "The product of two numbers ="; P
………..
QBASIC: Input Statement
52 Likes
Answer
CLS
PRINT "Enter two numbers"
INPUT A,B
S = A+B
P = A*B
PRINT "The sum of two numbers ="; S
PRINT "The product of two numbers ="; P
END
Answered By
29 Likes
Related Questions
State whether the following statement is True or False :
There is no difference between LET and INPUT statement in QBASIC.
State whether the following statement is True or False :
INPUT "Information Technology" is a valid statement.
Complete the following QBASIC program:
CLS
INPUT "Enter the name of article"; N$
INPUT "Enter the number of articles"; P
INPUT "Enter the price of article"; ………..
M = P * Q
PRINT "Name of the article is"; ………..
PRINT "Total cost of the articles is"; ………..
ENDComplete the following QBASIC program:
CLS
PRINT "What do you want to buy?"
PRINT "Enter T$ for toy
INPUT ………..
PRINT "How many"; T$; "Want to buy"
INPUT ………..
PRINT "I want to buy"; N; T$
………..