diff options
| author | tafaar <[email protected]> | 2022-10-11 18:52:47 -0700 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-10-11 18:52:47 -0700 |
| commit | 7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8 (patch) | |
| tree | a1ec3f7229f0237eb2cb2ba132432c4cd3aba487 | |
| parent | added i++ (diff) | |
| download | cst116-chapter8-debugging-hill-7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8.tar.xz cst116-chapter8-debugging-hill-7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8.zip | |
answered 7
| -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 cfdfd94..a255b4b 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -14,6 +14,9 @@ * 6) Step over the cout statement.
* 7) Why didn't the flow of the program return back to the while
* statement?
+*
+* Improper ; placement, also i was not less than 0.
+*
* 8) Fix this problem by removing the ; after the while statement.
* 9) Stop debugging and repeat Steps 2 � 5 to verify the correction
* worked.
|