In this question, you will create a car rental bill calculator for Hurricane car rentals in central Florida. The revenue management department business has dictated the following billing policy per car rental. In python.
• Base Rate
o Daily rate: $27.50
o Weekly (up to 7 days) discount: 15% off the 7-day rate
o Monthly (up to 30 days) discount: 30% off the 30-day rate (car rental companies
offer large long-term discounts)
• Energy Recovery Fee: $0.60/day; maximum charge 10 days
• Florida Surcharge: $2.00/day; maximum charge 30 days
• Vehicle License Fee: $0.80/day
• Sales Tax: 7.5% of the total amount from the four items above
the base rate charged is the minimum of all rates
that the car rental qualifies for, e.g.:
• A 5-day rental is charged 5 x Daily Rate.
• A 12-day rental is charged 1 Weekly Rate for the first 7 days, then 5 x Daily Rate for the remaining 5 days.
• A 26-day rental is charged 3 x Weekly Rate, plus 5 final days at 5 x Daily Rate.
• A 55-day rental is charged 1x Monthly Rate, plus 3 x Weekly Rate, plus the final 4 days at 4 x Daily Rate.
All line items in your invoice printout must be rounded to the nearest cent. Calculate everything first before rounding.