diff options
| author | Evan <[email protected]> | 2022-09-29 16:23:21 -0700 |
|---|---|---|
| committer | Evan <[email protected]> | 2022-09-29 16:23:21 -0700 |
| commit | f5f41b375bc8a3ce7335921328e6674fe664ae64 (patch) | |
| tree | 60889fc029f883b343a4061a5ae4a2a140fc7a3c /CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | |
| parent | added my anwsers to the exercise questions (diff) | |
| download | cst116-ch5-debugging-evanmihm-f5f41b375bc8a3ce7335921328e6674fe664ae64.tar.xz cst116-ch5-debugging-evanmihm-f5f41b375bc8a3ce7335921328e6674fe664ae64.zip | |
anwsers
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp')
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index 851932d..3c4deab 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -25,6 +25,9 @@ * line.
* 10) Step over the next cout statement. Now look at the console
* window. What was printed?
+*
+* Enter percent raise
+*
* 11) Select Stop Debugging either from the Debug menu or from your
* toolbar.
*
@@ -38,7 +41,13 @@ * 5) Notice that the current line of execution is now at the
* calculation.
* 6) Look at your watch. What is the value of money?
+*
+* Money=123.449997
+*
* 7) Hover your mouse pointer over raise. What is its value?
+*
+* Raise=0.100000001
+*
* 8) Step over the calculation. Notice the watch on money is now
* red. This designates that the variable just changed its value.
* 9) What happened to our money? I thought a raise was supposed
|