Question: For this program, you should prompt the user for an automobile service and a payment amount and then calculate how much change the user should

For this program, you should prompt the user for an automobile service and a payment amount and then calculate how much change the user should receive, according to this list of services:
oil change -- $ 35
tire rotation -- $ 19
car wash -- $ 7
If the user selects a service not shown in the list, you should display an appropriate message. Also, if the payment is not enough to cover the service an appropriate error message should be displayed.
To complete this program, consider the following incremental process.

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!