aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
diff options
context:
space:
mode:
authorDoolyBoi <[email protected]>2022-09-29 16:33:16 -0700
committerDoolyBoi <[email protected]>2022-09-29 16:33:16 -0700
commitccc34d90c70e97fb70f2be424bba764045059255 (patch)
treef88dbc9fd5ba67929eb34c203db5bbaecd8a6182 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
parentsome changes (diff)
downloadcst116-lab0-debugging-abd00l4h-ccc34d90c70e97fb70f2be424bba764045059255.tar.xz
cst116-lab0-debugging-abd00l4h-ccc34d90c70e97fb70f2be424bba764045059255.zip
answered questions
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp')
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.cpp4
1 files changed, 3 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 e6d0869..b37502a 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -45,11 +45,14 @@
* 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 float
* 7) Hover your mouse pointer over raise. What is its value?
+* raise 0.100000001 float
* 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
* to increase our money? Stop debugging and fix the calculation.
+* It was giving you the amount of money you are supposed to increase by
*
* Debugging Exercise 3
*
@@ -80,7 +83,6 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
-
cout << "Enter percent raise: ";
cin >> raise;