Got stuck on “Going to the cinema” Challenge

I didn’t understand the instruction of this challenge on codewars platform. I didn’t understand how to calculate the system B .
So I need explanation about how to calculate system B If John goes to the cinema 3 times or 5 times?

Link to the challenge:

system B starts it has a price of 500 at the beginning. And then each ticket costs 15*0.9n where n is the number of the ticket (first ticket costs 15*0.91, second ticket 15*0.92 and so on)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.