diff options
| author | Anibal LopezBonilla <[email protected]> | 2022-10-12 20:43:32 -0700 |
|---|---|---|
| committer | Anibal LopezBonilla <[email protected]> | 2022-10-12 20:43:32 -0700 |
| commit | c32bf455b9ee5d78fe5965230820cfac89e3d791 (patch) | |
| tree | bfb68f1e4cad4751ea918cf8939ca6828e4e190a /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | Performed debugging exercise 1 (diff) | |
| download | cst116-chapter8-debugging-lopez-bonilla-c32bf455b9ee5d78fe5965230820cfac89e3d791.tar.xz cst116-chapter8-debugging-lopez-bonilla-c32bf455b9ee5d78fe5965230820cfac89e3d791.zip | |
Push 2 Did debugging exercise 2
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index fe1e204..b1f423e 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -14,6 +14,7 @@ * 6) Step over the cout statement.
* 7) Why didn't the flow of the program return back to the while
* statement?
+* ANS: While statement had a colon at the end.
* 8) Fix this problem by removing the ; after the while statement.
* 9) Stop debugging and repeat Steps 2 � 5 to verify the correction
* worked.
|