[ad_1]
num is decreasing as it is /10 each time, and the loop exits when num is 0.
armNum is potentially increasing each time it goes through the loop.
So unless armNum is 0, it will be false.
[ad_2]
solved confused with int Assignments in Java [closed]