Professional Documents
Culture Documents
Programming errors
In the case of logical errors, there is usually no indication as to where the error is. They can be quite
tricky to track down, and may have you ripping your hair out in frustration. You will often hear yourself
saying "But that should work! Why won't it?" .So let’s practice. More specifically:
In the document’s folder is a subfolder called “DW. CSII.4.3_Error handling”. This folder contains
the subfolder “Logical_errors_1”. Find it and open the existing program.
Before you click the button and run the program, observe it very carefully. What answer do you
expect to get? ...................................
Now run the program and write the answer you get: …………………………….
....................................................................................................................
....................................................................................................................