aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
diff options
context:
space:
mode:
authorKai <[email protected]>2022-10-12 15:54:12 -0700
committerKai <[email protected]>2022-10-12 15:54:12 -0700
commit5213503ab796f14a0ece1c83c53ee2156ce89a8a (patch)
tree68877c929b327f4e23e8d8e567092940fc9ae2c7 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
parentMerge branch 'main' of https://github.com/CST116/cst116-lab0-debugging-CobraKai2 (diff)
downloadcst116-lab0-debugging-cobrakai2-main.tar.xz
cst116-lab0-debugging-cobrakai2-main.zip
fixed the calcHEADmain
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp')
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.cpp2
1 files changed, 1 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 ae0d94d..8179f45 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -77,7 +77,7 @@ int main()
cout << "Enter percent raise: ";
cin >> raise;
- money = money * raise;
+ money += money * raise;
cout << "After your raise you have $";
cout << money << endl;