aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-11 18:52:47 -0700
committertafaar <[email protected]>2022-10-11 18:52:47 -0700
commit7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8 (patch)
treea1ec3f7229f0237eb2cb2ba132432c4cd3aba487 /CST116-Ch8-Debugging
parentadded i++ (diff)
downloadcst116-chapter8-debugging-hill-7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8.tar.xz
cst116-chapter8-debugging-hill-7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8.zip
answered 7
Diffstat (limited to 'CST116-Ch8-Debugging')
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp3
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.