From 629faaa06bbdf5042bd8573a926b1b3cab1cbdac Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 5 Oct 2022 14:19:45 -0700 Subject: 3.5 --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 +++ 1 file changed, 3 insertions(+) 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. ********************************************************************/ -- cgit v1.2.3