aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Hill <[email protected]>2022-10-05 14:19:45 -0700
committerAaron Hill <[email protected]>2022-10-05 14:19:45 -0700
commit629faaa06bbdf5042bd8573a926b1b3cab1cbdac (patch)
tree72fe2b253446a9764be2b3221b250b3b7629a476
parent3.4 (diff)
downloadcst116-ch7-debugging-hill-629faaa06bbdf5042bd8573a926b1b3cab1cbdac.tar.xz
cst116-ch7-debugging-hill-629faaa06bbdf5042bd8573a926b1b3cab1cbdac.zip
3.5
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp3
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.
********************************************************************/