0

Why this code don't clear all cases ?

https://code.sololearn.com/clh9tvBQ0HXd/?ref=app

21st Jul 2020, 5:28 PM
Karim Fadi
Karim Fadi - avatar
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.
21st Jul 2020, 5:34 PM
ChaoticDawg
ChaoticDawg - avatar
+ 2
There are two integers for the input and you can buy if first/12 is >= second.
21st Jul 2020, 5:50 PM
JaScript
JaScript - avatar