How Many TVs Were Sold? 3
How Many VCRs Were Sold? 5
How Many Remote Controllers Were Sold? 1
How Many CDs Were Sold? 2
How Many Tape Recorders Were Sold? 4
The format for the output from the program follows:
QTY DESCRIPTION UNIT PRICE TOTAL PRICE
--- ----------- ---------- -----------
XX TV 400.00 XXXX.XX
XX VCR 220.00 XXXX.XX
XX REMOTE CTRLR 35.00 XXXX.XX
XX CD PLAYER 300.00 XXXX.XX
XX TAPE RECORDER 150.00 XXXX.XX
__________
SUBTOTAL XXXX.XX
TAX XXX.XX
TOTAL XXXXX.XX
Use either defined constants or memory constants for the unit
prices and the tax rate. Use integer variables to store
the quantities for each item. Use floating-point variables
to store the total price for each item, the bill subtotal,
the tax amount, and the total amount of the bill. Run
your program twice with the following data: