0
Why this code don't clear all cases ?
2 Answers
+ 2
If you have enough tickets buy it. You don't buy it when your tickets are equal to the cost only when greater than.
+ 2
There are two integers for the input and you can buy if first/12 is >= second.