[Solved] confused with int Assignments in Java [closed]


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.

solved confused with int Assignments in Java [closed]