Canadian Computing Competition: 2000 Stage 1, Junior #3, Senior #1
Martha takes a jar of quarters to the casino with the intention of becoming rich. She plays three machines in turn. Unknown to her, the machines are entirely predictable. Each play costs one quarter. The first machine pays
Input Specification
Your program should take as input the number of quarters in Martha's jar (there will be at least one and fewer than
Output Specification
Your program should output the number of times Martha plays until she goes broke.
Sample Input
Copy
48
3
10
4
Sample Output
Copy
Martha plays 66 times before going broke.
Comments
why does it say i have the wrong answer and someone please tell me what Clipped means
For this question, don't forget to print "Martha plays (numbers) times before going broke.""
I think that we should change our currency to corn, it would be much more sustainable, and imagine winning at a slot machine and all the corn just comes out in a pool of golden glory.
我真的很喜欢写代码!
ok lil bro
This comment is hidden due to too much negative feedback. Show it anyway.
u think ur him 💀💀💀🤣🤣
I keep getting a fail on this. I'm not sure why.
You need a period on the print statement.