stevemboso

About stevemboso

Posted question : 1

Bought : 1

Member for : 245 Weeks, 5 Days

TOP RATED

Math Expert

3 times

tutor

1 times

SmartExpert

118 times

John

1 times

QuickHelper

10 times

Category > Information Systems Posted 30 Aug 2019 Deadline 30 Aug 2019 My Price 8.00

python homework, please I already paid for this question I need the answer, please??

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

(118)
Status NEW Posted 30 Aug 2019 07:08 AM My Price 8.00

Ans-----------wer-----------

Attachments

1567151557-p2.png
1567151557-p1.png
1567151557-p3.png
file 1567151559-Error in code.docx preview (448 words )
E-----------rro-----------r i-----------n c-----------ode-----------: -----------eli-----------f a-----------uto-----------ser-----------v =-----------= '-----------Tir-----------e r-----------ota-----------tio-----------n':----------- T-----------he -----------var-----------iab-----------le -----------aut-----------ose-----------rv -----------sho-----------uld----------- be----------- au-----------toS-----------erv-----------. -----------Exp-----------lan-----------ati-----------on:----------- C-----------omp-----------let-----------e c-----------ode----------- af-----------ter----------- co-----------rre-----------cti-----------on:----------- a-----------uto-----------Ser-----------v =----------- in-----------put-----------('E-----------nte-----------r d-----------esi-----------red----------- au-----------to -----------ser-----------vic-----------e:\-----------n')----------- p-----------rin-----------t('-----------You----------- en-----------ter-----------ed:-----------', -----------aut-----------oSe-----------rv)----------- i-----------f a-----------uto-----------Ser-----------v =-----------= '-----------Oil----------- ch-----------ang-----------e':----------- Â-----------  p-----------rin-----------t('-----------Cos-----------t o-----------f',-----------aut-----------oSe-----------rv,-----------': -----------$35-----------') ----------- el-----------if -----------aut-----------oSe-----------rv -----------== -----------'Ti-----------re -----------rot-----------ati-----------on'-----------: -----------  -----------pri-----------nt(-----------'Co-----------st -----------of'-----------,au-----------toS-----------erv-----------,':----------- $1-----------9')----------- e-----------lif----------- au-----------toS-----------erv----------- ==----------- 'C-----------ar -----------was-----------h':----------- Â-----------  p-----------rin-----------t('-----------Cos-----------t o-----------f',-----------aut-----------oSe-----------rv,-----------': -----------$7'-----------)
Not Rated(0)