Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have been trying to figure this out, i see it is solved on here already, but it is still giving me erros, could i

I have been trying to figure this out, i see it is solved on here already, but it is still giving me erros, could i please get help on this project Codio/Python

image text in transcribedimage text in transcribed

image text in transcribed

#odoStart #beseCharge Section 2: Calculete the costa from the custoner input #1) calculate the mileage ta) Celculete the total mileage: sending odometer readin- aterting odometer reading nd tore it the variable totaLMile #2) Calculate the mileage charge and store it the varieble mileCharge: #a) Code 'B' (budget) mileage charge: $6.25 for each mile driven 4b) Code 'D' (daily) mileage charge : no charge if the average number of mile driven Per dey i 10 miies or less; i) Calculate the eve rageDayMilea (tota1HLes/daysRented) *i) If averogeDayNiles is above the 100 mile per day Limit: (1) calaulate extraMiles (everageDayMiles- 100) (2) mileCharge is the charge for extraMiles, S0.25 for each mile tc) Code(weekly) mileage charge: no charge if the everege number of miles driven per week is 980 miles or Leas *) Celculete the averageweekMiles (totaLMiles/ weekaRented) ti) mileCharge is $100.00 per week if the averege number of miles driven per week exceeds 980 miles Section 3: Diapley the results to the customer #1) Calcu te the Amount Due the variable amtDue This is the bese charge+ mile charge #2. Displey the regult f the rental celculation: #Cu tomer Summary

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

6.5 Identify at least 10 methods used for external recruitment.

Answered: 1 week ago

Question

6.6 Explain two strategies used to recruit nonpermanent staff.

Answered: 1 week ago