Symptoms of an Infinite Loop
If an infinite
loop occurs the same lines of code
are executed over and over forever. This
is a common run-time error.
Symptom 1: Your program prints the same thing over and over in rapid succession.
Symptom 2: Your program appears to freeze and do nothing. In actuality it is working as hard as it can but getting nowhere. Be careful though since your program may just be waiting for input.