aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
index a337a4c..4b0de0b 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -43,7 +43,8 @@
and the program automatically reads the "adult" line because there isn't something stopping it.
* 4) Re-run the program this time with debugging and run to
* Breakpoint 2.
-* 5) Why is the action with the else executing?
+* 5) Why is the action with the else executing? because there is a semicolon on else so it reads the "adult"
+* as a whole other line with no limitations
* 6) Fix the problem and re-run to verify the problem was corrected.
********************************************************************/