aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
diff options
context:
space:
mode:
authorTim Pearse <[email protected]>2022-10-01 13:49:43 -0700
committerTim Pearse <[email protected]>2022-10-01 13:49:43 -0700
commit816703f59b44b5cd826998f31d6f933e242484a6 (patch)
tree48179eb8a204b4282713cca231be1dcb255e97c5 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
parentChange 1: Went through Debugging Exercises 1 & 2. (diff)
downloadcst116-lab0-debugging-legokid1503-816703f59b44b5cd826998f31d6f933e242484a6.tar.xz
cst116-lab0-debugging-legokid1503-816703f59b44b5cd826998f31d6f933e242484a6.zip
Change 2: Finished Exercise 3 and added the results of running it in a txt file.
Next step : Pseudocode. Also need to fix the other project
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 3a09c34..848e076 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -50,7 +50,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.45
* 7) Hover your mouse pointer over raise. What is its value?
+* .1
* 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
@@ -85,7 +87,7 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- cout << "Enter percent raise: ";
+ cout << "Enter PERCENT raise: ";
cin >> raise;