There is a bug in the program given. Use the debugger and find the problem.1:

Step 1

Get the code from Here.

Step 2

Look at the code and try to predict where the bug could occure.

Step 3

Use the debugger and verify your prediction. If you were false try to find the real problem with the debugger.

Step 4

Try to find a way to repair the programm.

  1. You can find the solution to this task Here.