aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-11 08:16:13 -0700
committerTaylor Rogers <[email protected]>2022-10-11 08:16:13 -0700
commit246222737f0ba131f54d49f94dd3cc6cde28d899 (patch)
tree2c0aef685898810ef102ae461bbadca5795b2527
parentadded gitignore (diff)
downloadcst116-chapter8-debugging-taylorrog-246222737f0ba131f54d49f94dd3cc6cde28d899.tar.xz
cst116-chapter8-debugging-taylorrog-246222737f0ba131f54d49f94dd3cc6cde28d899.zip
Answer E1 Q7
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
index 53e4a61..5b029d2 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -1,5 +1,7 @@
/********************************************************************
* File: CST116-Ch8-Debugging.cpp
+*
+* Name: Taylor Rogers
*
* General Instructions: Complete each step before proceeding to the
* next.
@@ -14,6 +16,9 @@
* 6) Step over the cout statement.
* 7) Why didn't the flow of the program return back to the while
* statement?
+*
+* Because of the semicolon closing while
+*
* 8) Fix this problem by removing the ; after the while statement.
* 9) Stop debugging and repeat Steps 2 � 5 to verify the correction
* worked.