From 7229d2ff8e99b439988bb9bfb98550655bb3fc8a Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 12 Oct 2022 20:48:30 -0700 Subject: done --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 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 using std::cout; -- cgit v1.2.3