diff options
| author | alexandra-apetroaei <andra@MSI> | 2022-10-04 12:56:05 -0800 |
|---|---|---|
| committer | alexandra-apetroaei <andra@MSI> | 2022-10-04 12:56:05 -0800 |
| commit | d0587029b124ae20a13889253f1345a97187f869 (patch) | |
| tree | e970266d218228eff0415cec4fbfff474ce34cb0 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | |
| parent | change (diff) | |
| download | cst116-lab0-debugging-alexandra-apetroaei-main.tar.xz cst116-lab0-debugging-alexandra-apetroaei-main.zip | |
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp')
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 4abe62f..af6e6f2 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -24,7 +24,9 @@ * statement. Use the Step Over tool to take you to the next
* line.
* 10) Step over the next cout statement. Now look at the console
-* window. What was printed?
+* window. What was printed?
+//You have $123.45
+* //Enter percent raise
* 11) Select Stop Debugging either from the Debug menu or from your
* toolbar.
*
@@ -38,7 +40,9 @@ * 5) Notice that the current line of execution is now at the
* calculation.
* 6) Look at your watch. What is the value of money?
+* //123.449997
* 7) Hover your mouse pointer over raise. What is its value?
+* //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
|