Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(1) Output a menu of automotive services and the corresponding cost of each service (2 pts) EX Davy's auto shop services Oil change --- $35

image text in transcribed
image text in transcribed
image text in transcribed
(1) Output a menu of automotive services and the corresponding cost of each service (2 pts) 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. (2 pts) 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 (3 pta) Davy's auto shop invoice Service 1: 011 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. (3 pts) 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 3664442362772.2/ LAB ACTIVITY 4.14.1: Ch 4 Program: Automobile service invoice main.py 1 Total_cost = 0; 2 3.print("Davy's auto shop services") 4 5 print('Oil change $35') 6 7 print('Tire rotation $19') 8 9 print('Car wash $7') 10 11 print('Car wax -- $12 ') 12 13 service_1 - input('Select first service: ') 14 15 service_2 - input('Select second service:In Develop mode Submit mode Run your program as often as you'd like, before submitting input values in the first box, then click Run program and ot second box

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

Students also viewed these Databases questions

Question

What is the p-value provided for the explanatory variable?

Answered: 1 week ago