Question: Write a program that will tell a cashier how much total change should be returned to the customer. The input to obtain from the cashier

Write a program that will tell a cashier how much total change should be returned to the customer. The input to obtain from the cashier will be the total purchase price and the amount of cash given. If enough cash is given, your program will inform the cashier how much change to dispense (a single amount; for now, it's up to them to break that into individual coin and dollar amounts on their own). If not enough cash is given, your program will inform the cashier not enough cash was given to complete the purchase.
language: C++

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!