Computer Science, asked by SoumiliMondal, 19 days ago

(iii) Write a QBASIC program to input item’s name, quantity (number of items) and unit price (price of

each item) of a product and print the item’s name, quantity, unit price and total amount.

Formula: Total amount= Quantity * Unit price

(iv) Write a QBASIC program to input a number and print it’s square.

[For example, if the input number is 6 then the square of the number is 6*6=36.]
please help friends ​

Answers

Answered by Mister360
4

Explanation:

CLS

PRINT "What do you want to buy?"

PRINT "Enter T$ for toy"

INPUT T$

PRINT "How many"; T$; "Want to buy"

INPUT N

PRINT "I want to buy"; N; T$

END

Similar questions