Computer Science, asked by mahindrsingha097, 9 months ago

A QB64 program to find the total amount given to the shopkeeper for purchasing 10notebooks , 12 pencils and 5 eraser, where the cost of 1 notebook is Rs 15 ,cost of 1 pencil is Rs2, cost of 1 eraser is Rs 2

Answers

Answered by harshitha22279
3

Answer:

DIM notebook AS INTEGER

DIM pencil AS INTEGER

DIM eraser AS INTEGER

DIM total AS INTEGER

notebook = 10 * 15

pencil = 12 * 2

eraser = 5 * 2

total = notebook + pencil + eraser

PRINT "the total amount you have to pat is Rs "; total

END

Similar questions