Computer Studies

A salesman sold 14 chairs at the rate of ₹ 275 each and 3 tables at the rate of ₹ 650 each. Write a program in QBASIC to calculate the total sale.

QBASIC

QBASIC: Cmds & Stmts

93 Likes

Answer

Cls
Let C = 14
Let COSTC = C * 275
Let T = 3
Let COSTT = T * 650
Let TOTAL = COSTC + COSTT
Print "TOTAL SALE= Rs. "; TOTAL
END

Output

TOTAL SALE = Rs. 5800

Answered By

52 Likes


Related Questions