aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-10-12 11:02:15 -0700
committerCEOofOogaBooga <[email protected]>2022-10-12 11:02:15 -0700
commit8a3122bc8bc6c7a0a6f17904776fc3f971e862cc (patch)
tree3837dd1642caee23f6189326efd3315c174882b7 /CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
parentCH7 Finished (diff)
downloadcst116-ch7-debugging--trinh--8a3122bc8bc6c7a0a6f17904776fc3f971e862cc.tar.xz
cst116-ch7-debugging--trinh--8a3122bc8bc6c7a0a6f17904776fc3f971e862cc.zip
Small correction
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp')
-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.
********************************************************************/