From 6744964fa0d8a84a7ec2cd749148da6035d421ed Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Sat, 8 Oct 2022 15:10:49 -0700 Subject: Answered exercise 3 Q5 --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp') diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index 312dcf8..18d240c 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -54,6 +54,9 @@ * 4) Re-run the program this time with debugging and run to * Breakpoint 2. * 5) Why is the action with the else executing? +* +* I think it is because nothing will happen if it executes, so its the same as not excuting at all. Not really sure on this one. +* * 6) Fix the problem and re-run to verify the problem was corrected. ********************************************************************/ -- cgit v1.2.3