aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
diff options
context:
space:
mode:
authorEvan <[email protected]>2022-10-12 20:48:30 -0700
committerEvan <[email protected]>2022-10-12 20:48:30 -0700
commit7229d2ff8e99b439988bb9bfb98550655bb3fc8a (patch)
tree7be43da40f18e75d8edb144b9bd181b2b4336e22 /CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
parentpseudo-codes (diff)
downloadcst116-ch7-debugging-evanmihm-7229d2ff8e99b439988bb9bfb98550655bb3fc8a.tar.xz
cst116-ch7-debugging-evanmihm-7229d2ff8e99b439988bb9bfb98550655bb3fc8a.zip
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 e9e5811..617a3e9 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -14,7 +14,7 @@
* 5) Step over the if statement.
* 6) Why did the value in age change?
*
-* the if statement is setting age value to 1
+* I presume the if statement is setting age value to 1
*
* 7) Fix the problem and repeat Steps 2 � 5 to verify the
* problem was corrected.
@@ -60,6 +60,7 @@
//requires user input for a age
//uses that number and matches it within a certain requirement
// age=1 or age under 12 or age between 12 and 19 and age above 19 to 62 then finally 62 and above
+//first birthday, child, teenager, adult and senior respectively
#include <iostream>
using std::cout;