Question: Description For this program, you should prompt the user for an automobile service and how much they paid, and then calculate how much change the

Description
For this program, you should prompt the user for an automobile service and how much they paid, and then calculate how much change the user should receive. So if you imagine standing at the counter, you ask them what service they would like, and then you collect their payment. You would then check how much they paid against the cost of the service they requested. If they did not pay enough, you would tell that to the customer. If a service is requested that is not provided, this would also be said to the customer. If the service is offered and the customer paid enough h, then you would let them know how much change they will receive for that service.
The list of possible services is as follows with their costs:
oil change: $35
tire rotation: $19
car wash: $7
 Description For this program, you should prompt the user for an

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 General Management Questions!