+ 1
How can I check if an integer ends with a zero?
So I'm talking about ages here. So the numbers are mostly like 35, 20 and so on. The program should recognize that the 20 ends with a 0 and 35 not. thanks in advance xx
1 ответ
+ 4
if (x%10 == 0) {... }