KnowledgeBoat Logo
|

Computer Studies

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"; ………..
END

QBASIC: Input Statement

12 Likes

Answer

CLS
INPUT "Enter the name of article"; N$
INPUT "Enter the number of articles"; P
INPUT "Enter the price of article"; Q
LET M = P * Q
PRINT "Name of the article is"; N$
PRINT "Total cost of the articles is"; M
END

Answered By

5 Likes


Related Questions