aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
diff options
context:
space:
mode:
authorDerek Preston <[email protected]>2022-10-01 13:10:31 -0700
committerDerek Preston <[email protected]>2022-10-01 13:10:31 -0700
commitcb6a03c57ecb29e8f49b23ee73416051d9770fcb (patch)
tree40971e05a7ac16cbc63e343557f7f6ca37e91625 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-lab0-debugging-prestonderek-cb6a03c57ecb29e8f49b23ee73416051d9770fcb.tar.xz
cst116-lab0-debugging-prestonderek-cb6a03c57ecb29e8f49b23ee73416051d9770fcb.zip
Commit at Step 10 of Debug1
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, 2 insertions, 2 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
index 6545e9b..295944d 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -73,9 +73,9 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- cout << "Enter percent raise: ";
+ cout << "Enter percent raise: "; //Inserted breakpoint for step 1.
cin >> raise;
-
+ //Step 10 when you step over you get "You have $123.45. Enter percent raise:"
money = money * raise;
cout << "After your raise you have $";