Question: Collect Customer Data - Part 2 Set the base charge for the rental type as the variable baseCharge. The base charge is the rental period
Collect Customer Data - Part 2
Set the base charge for the rental type as the variable baseCharge. The base charge is the rental period * the appropriate rate: For example: if rentalCode == 'B': baseCharge = daysRented * budgetCharge Collect Mileage information: Prompt the user to input the starting odometer reading Prompt: "Starting Odometer Reading: " Variable: odoStart = ? Prompt the user to input the ending odometer reading Prompt: "Ending Odometer Reading: " Variable: odoEnd = ? Customer Data Check 2 The following data will be used as input in the test: rentalCode = 'D' daysRented = 5 odoStart = 1234 odoEnd = 2222 Customer Data Check 2 In your rental_car.py file, add code to print out the two new variables you have collected input for: odoStart odoEnd And print the calculated variables: baseCharge
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
