Question: PLS HELP ME Write a very descriptive algorithm at the beginning of your program. The algorithm should be written in simple English so that anyone

PLS HELP ME

Write a very descriptive algorithm at the beginning of your program. The algorithm should be written in simple English so that anyone who does not know Python syntax is able to understand your approach [ 15 points]. Write python code below the algorithm and I would also like to see comments throughout your program that explain whats going on in the program as you go.

PART I [ 25 points]

Automobile Service The program should support the following services:

Oil Change -- $35

Tire Rotation -- $19

Car Wash -- $7

Write a program that will prompt the user for an automobile service, and output the price of the requested service. If the user enters a service that is not listed above then output the following error message:

Error: Requested service is not recognized.

PLS HELP ME Write a very descriptive algorithm at the beginning of

PART II

Modify the first program to complete the rest of the program.

1) Print a menu of automotive services and corresponding cost of each service. [5 points]

Pythons auto shop services

Oil change -- $35

Tire rotation -- $19

Car wash -- $7

Car wax -- $12

2)Ask the user to choose two services from the menu, output an invoice for the services selected. Output the cost for each service and the total cost. [30 points]

3) Extend the program to allow the user to enter a dash (-) which indicates no service and If the user enters a service that is not listed above then output the following error message: [10 points]

Error: Requested service is not recognized.

4) Modify the program such that the user can type in any of these combinations listed below and the program would identify the service correctly and print out the results. [15 points]

Oil change/oilchange/Oilchange

Tire rotation/tirerotation/Tirerotation

Car wash/Carwash/carwash

Car wax/carwax/ Carwax

your program. The algorithm should be written in simple English so that

Modify the program to ask the user if they want to continue and add 2 more items. Yes/ yes or Noo should be considered as appropriate responses. [ 5 points]

(hellboy) NSCHNS118:Labs troys python lab4a.py Enter desired auto service: Tire rotation You entered: Tire rotation Cost of tire rotation: $19 (hellboy ) NSCENS118:Labs troy$ python 1ab4a.py Enter desired auto service Tire change You entered: Tire change Error: Requested service is not recognized (hellboy) NSCHNS118:Labs troy$

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!