Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C + + Your project will simulate a cash register. It will allow the user to enter the price of 3 items, find the total
C Your project will simulate a cash register. It will allow the user to enter the price of items, find the total after calculating sales tax accept a payment amount, and calculate change.
It will then ask if there is an additional customer. End the program when there are no more customers.
For this project, you will write a program that completes the following:
Uses a while loop. This can be done for the next customer or the next item. Use while loop
While in this loop, you should ask for the price of items, calculating and displaying subtotal, tax and total. Remember to declare your variables, and initialize them all! Practice with Wschools or zyBooks is allowed
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