Question: Write a program to create a customer's bill for a company. The company sells only five different products:TV , Laptop, Speaker, Computer Mouse and Keyboard.
Write a program to create a customer's bill for a company. The company sells only five different products:TV Laptop, Speaker, Computer Mouse and Keyboard. The unit prices are pesos, pesos, pesos, pesos and pesos 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 sales tax. The input data consist of a set of integers representing the quantities of each item sold. These integers must be input into the program in a user friendly way; that is the program must prompt the user for each quantity as shown below. The numbers in boldface show the user's answers.Sample Output:How ManTVs Were Sold? How Many Laptops Were Sold? How Many Speakers Were Sold? How Many Computer Mouse Were Sold? How Many Keyboards Were Sold?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
