Posts by SpekTron X • 13 points
1 post
-
0
votes2
answers280
viewsQ: Infinite loop when reading integers with Scanner
I’m trying to treat an exception within a repeating structure for, but I am having difficulties, because the catch is not returning to the for, and by typing an invalid value, it is in an infinite…