diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-06 18:54:58 -0700 |
|---|---|---|
| committer | Trevor Bouchillon <[email protected]> | 2022-10-06 18:54:58 -0700 |
| commit | f9fb9431ceea9323799c394f19e5770446aa08a3 (patch) | |
| tree | 0ffd764047db93249ecded993d85a4ad28ea2252 /CST116-Ch7-Debugging | |
| parent | Debug 1 complete (diff) | |
| download | cst116-ch7-debugging-daboochillin-f9fb9431ceea9323799c394f19e5770446aa08a3.tar.xz cst116-ch7-debugging-daboochillin-f9fb9431ceea9323799c394f19e5770446aa08a3.zip | |
debug 2 complete
Diffstat (limited to 'CST116-Ch7-Debugging')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 2 |
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 6fb9e1c..9db265a 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -35,7 +35,7 @@ * 5) Step over the else if.
* 6) Why is the program going to print "Teenager" for an age of 25?
* ************************************************************************************************************************
-* Because the compare operator is not correct. It needs to be && not ||.
+* Because the compare operator is not correct. It needs to be && not ||, which is a "or" operator.
* ************************************************************************************************************************
* 7) Fix the problem and repeat Steps 1 � 5 to verify the
* problem was corrected.
|