Question
Problem Statement: Write a program to calculate a customers bill in the form of a receipt. Your company sells five different products: An HD TV,
Problem Statement: Write a program to calculate a customers bill in the form of a receipt. Your company sells five different products: An HD TV, A Laptop Computer, an Xbox, an MP3 player and a 4G hot Spot. The unit prices are $232.40, $620.39, $230.21, $30.00, and $121.00 respectively. Your program should take the quantity sold of each item as input from the user, calculate the cost of the total gross sale and the amount of sales tax charged with a grand total. The state tax is 7.5%. These integers representing quantities 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. Run your program twice with the following data and ensure your output is correct:
Set 1 > 2 1 4 1 2
Set 2 > 3 0 2 0 21
In C programming
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started