Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON CODE PLEASE 4.20 LAB: Warm up: Automobile service cost (1) Prompt the user for an automobile service. Output the user's input. (1 pt) Ex:
PYTHON CODE PLEASE
4.20 LAB: Warm up: Automobile service cost
(1) Prompt the user for an automobile service. Output the user's input. (1 pt) Ex:
Enter desired auto service: Oil change You entered: Oil change
(2) Output the price of the requested service. (4 pts) Ex:
Enter desired auto service: Oil change You entered: Oil change Cost of oil change: $35
The program should support the following services (all integers):
- Oil change -- $35
- Tire rotation -- $19
- Car wash -- $7
If the user enters a service that is not listed above, then output the following error message:
Error: Requested service is not recognized
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started