subject

(1) Output a menu of automotive services and the corresponding cost of each service. Ex:
Davy's auto shop services
Oil change -- $35
Tire rotation -- $19
Car wash -- $7
Car wax -- $12
(2) Prompt the user for two services from the menu.
Ex:
Select first service:
Oil change
Select second service:
Car wax
(3) Output an invoice for the services selected. Output the cost for each service and the total cost.
Davy's auto shop invoice
Service 1: Oil change, $35
Service 2: Car wax, $12
Total: $47
(4) Extend the program to allow the user to enter a dash (-), which indicates no service.
Ex:
Davy's auto shop services
Oil change -- $35
Tire rotation -- $19
Car wash -- $7
Car wax -- $12
Select first service:
Tire rotation
Select second service:
-Davy's auto shop invoice
Service 1: Tire rotation, $19
Service 2: No service
Total: $19

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
Which function key is used to enable the spelling & grammar function in a word processing program such as microsoft word?
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
question
Computers and Technology, 24.06.2019 16:30
Pressing the backspace key deletes the text to the of the insertion point. the left or the right?
Answers: 1
You know the right answer?
(1) Output a menu of automotive services and the corresponding cost of each service. Ex:
Davy...
Questions
question
Mathematics, 26.05.2021 17:50
question
Mathematics, 26.05.2021 17:50
question
Computers and Technology, 26.05.2021 17:50
question
Mathematics, 26.05.2021 17:50
question
Mathematics, 26.05.2021 17:50
Questions on the website: 13722363