Question: Write a program to create a customer's bill for a company. The company sells only five different products: TV , VCR , Remote Controller, CD

Write a program to create a customer's bill for a company. The company sells only five different products: TV, VCR, Remote Controller, CD Player, and Tap Recorder.
The unit prices are $400.00,$220.00,$35.20,$300.11, and $150.00, respectively. The program must read the quantity of each piece of equipment purchased from the keyboard. It then calculates the cost of each item, the subtotal, and the total cost after an 8.25% sales tax.
The input data consists of a set of integers representing the quantities of each item sold. These integers must be input into the program in a user-friendly manner; that is, the program must prompt the user for each quantity as shown below. The numbers in the boldface show the user's answers.
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 is shown in Figure 3-13.
Figure 3-13
\table[[QTY,DESCRIPTION,UNIT PRICE,TOTAL PRICE],[,,,],[,TV,400.00,*
(Put in C code )
 Write a program to create a customer's bill for a company.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!