Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python program! Need assistance with code please! Program Specifications Cornelius Vanderbilt, the owner of Cornelius Auto Shop Services has asked you to write a program
Python program! Need assistance with code please!
Program Specifications Cornelius Vanderbilt, the owner of "Cornelius Auto Shop Services" has asked you to write a program that provides a list of services available at the shop. The program then asks the user to pick one of the services. After the user selects a service, the program should print the cost of that service. The services and cost of each service: Oil change ($35) Tire rotation ($19) Car Wash ($7) Car wax ($12) Sample run 1 The user input is 1 Cornelius Auto Shop Services 1) Oil change 2) Tire rotation 3) Car Wash 4) Car wax Select a service: 1 The cost for an oil change is $35 Sample run 2 The user input is 2 Cornelius Auto Shop Services 1) Oil change 2) Tire rotation 3) Car wash 4) Car wax Select a service: 2 The cost for a tire rotation is $19 Sample run 3 The user input is 3 Cornelius Auto Shop Services 1) Oil change 2) Tire rotation 3) Car Wash 4) Car wax Select a service: 3 The cost for a car wash is $7 Sample run 4 The user input is 4 Cornelius Auto Shop Services 1) Oil change 2) Tire rotation 3) Car Wash 4) Car wax Select a service: 4 The cost for a car wax is $12 Sample run 5 The user input is any other number. Cornelius Auto Shop Services 1) Oil change 2) Tire rotation 3) Car Wash 4) Car wax Select a service: 5 Error: Requested service is not recognized Notes This lab does not require you to define any functions. However, all your statements must be part of the main functionStep 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