diff options
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index 08f9dbe..99f0cf0 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -53,6 +53,9 @@ * Done.
*
* 5) Why is the action with the else executing?
+*
+* Because there is a ";" after the else before the next statement is read.
+*
* 6) Fix the problem and re-run to verify the problem was corrected.
********************************************************************/
|