Computer Studies

Complete the following QBASIC program:

CLS
PRINT "What is the cost of this pen?"
INPUT ………..
PRINT "How many pens do you want?"
INPUT ………..
T = P * Q
PRINT "Total cost ="; ………..
………..

QBASIC: Input Statement

11 Likes

Answer

CLS
PRINT "What is the cost of this pen?"
INPUT P
PRINT "How many pens do you want?"
INPUT Q
T = P * Q
PRINT "Total cost ="; T
END

Answered By

6 Likes


Related Questions