diff options
| author | tafaar <[email protected]> | 2022-10-11 18:53:23 -0700 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-10-11 18:53:23 -0700 |
| commit | c6f69567192d5d5db4f641dc584f77eabdb47bfc (patch) | |
| tree | a2c931772320d07e0e301c09ba68be8428f93e39 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | answered 7 (diff) | |
| download | cst116-chapter8-debugging-hill-c6f69567192d5d5db4f641dc584f77eabdb47bfc.tar.xz cst116-chapter8-debugging-hill-c6f69567192d5d5db4f641dc584f77eabdb47bfc.zip | |
answered 3
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index a255b4b..ea68315 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -28,6 +28,9 @@ * 1) Run to Breakpoint 1.
* 2) Step into the while loop.
* 3) Why did the cout not execute?
+*
+* i is not less than 0.
+*
* 4) Check the value of i, now check the condition, does the
* condition evaluate to true?
* 5) Change the "< 0" to a "< 10".
|