diff options
Diffstat (limited to 'CST116-Ch7-Debugging')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 |
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;
|