A store had 150 laptops in the month of January. Every month, 20% of the laptops were sold and 10 new laptops were stocked in the store. Write a recursive function that represents the number of laptops in the store f(n) after n months.
Accepted Solution
A:
the answer is f(n) = 0.8 × f(n − 1) + 10, f(0) = 150, n > 0