+ 7
It's because your code is running into an infinite loop. Why? On line 8, you have put a semicolon after the while statement. To the compiler, the semicolon means that the loop has no body. So it keeps looping forever. To make the program work, remove the semicolon at the end of line 8.



