Question: C++ 5. Write a program to create a customer's bill for a company. The company sells four different products: TV, DVD Player, Blu Ray Player
5. Write a program to create a customer's bill for a company. The company sells four different products: TV, DVD Player, Blu Ray Player and CD Player and the unit prices are $500.00, $230.00, $450.00 and $100.00 respectively. The program must read from the keyboard the quantity of each equipment purchased. It then calculates the cost of each item, the subtotal, and the total cost after an 8.75% sales tax. The input data consists of set of integers representing quantities of each item sold. The program must prompt for the user each quantity as shown below. The numbers in boldface italic show the user's answer. How many TVs were sold? How many DVD Players were sold? How many Blu Ray Players were sold? How many CS Players were sold? 3 2 The format of the output from the program is shown below. QTY DESCRIPTION UNIT PRICE TOTAL PRICE xx TV xx DVD Player xx Blu Ray Player 450.00 $500.00 $230.00 xxxx.xX XXXx.XX xx CD Player $100.00 SUBTOTAL TAX TOTAL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
