Login or Create an Account to view the mark scheme, comment, and add to a test
Consider a car rental agency that rents out cars to customers for a fixed rate of $50 per day. The agency also offers a 10% discount on the rental price if the customer rents the car for more than 7 days. Write a recursive function in Python that takes as input the number of days a customer wants to rent a car and calculates the total rental cost. Identify the recursive thinking in your solution.
[2]

Short Answer2 MarksShared
0 Uses11 Views0 Likes