Answered step by step
Verified Expert Solution
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
#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
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