From 8a3122bc8bc6c7a0a6f17904776fc3f971e862cc Mon Sep 17 00:00:00 2001 From: CEOofOogaBooga Date: Wed, 12 Oct 2022 11:02:15 -0700 Subject: Small correction --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. ********************************************************************/ -- cgit v1.2.3