aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-12 14:08:13 -0700
committerprestonderek <[email protected]>2022-10-12 14:08:13 -0700
commit55f02d125e55a0eff2a1f84ecc8eed38ce75dbde (patch)
tree42a4414dfa9537e3bc3935b6a6ed2e9e044cb6e0
parentexersize 2 complete (diff)
downloadcst116-ch7-debugging-prestonderek-55f02d125e55a0eff2a1f84ecc8eed38ce75dbde.tar.xz
cst116-ch7-debugging-prestonderek-55f02d125e55a0eff2a1f84ecc8eed38ce75dbde.zip
Exsersize 3 issue found.
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
index 2e019e4..d576211 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -68,7 +68,7 @@ int main()
cout << "Senior" << endl;
// Breakpoint 2
// Put a breakpoint on the following line
- else;
+ else; //the following cout statement is happening after the else. This else statement is currently useless.
cout << "Adult" << endl;
return 0;