Question: 1 # Type your code here Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in
# Type your code here
Run your program as often as you'd like, before submitting for grading. Below,
type any needed input values in the first box, then click Run program and observe
the program's output in the second box.
Enter program input optional
If your code requires input values, provide them here.
Program output displayed here Ch Program: Automobile service invoice
Output a menu of automotive services and the corresponding cost of each service. pts
Ex
Davy's auto shop services
Oil change $
Tire rotation $
Car wash $
Car wax $
Prompt the user for two services from the menu pts
Ex
Select first service:
Oil change
select second service:
Car wax
Output an invoice for the services selected. Output the cost for each service and the total cost. pts
Davy' a auto shop invoice
Service : oil change, $
Service : Car wax, $
Total: $
Extend the program to allow the user to enter a dash which indicates no service. pts
Ex
Davy' a auto shop services
Oil change $
Tire rotation $
Car wash $
Car wax $
Select first service:
Tire rotation
select second service:
Davy's auto shop invoice
Service : Tire rotation, $
Service : No service
Total: $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
