aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
diff options
context:
space:
mode:
authorTrenton Stark <[email protected]>2022-10-01 13:14:26 -0700
committerTrenton Stark <[email protected]>2022-10-01 13:14:26 -0700
commit52bac87690fa0f4c86ed248692c799f5af335ede (patch)
treed3684fe764e2da35dc3aab893bbfc679f77e0790 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
parentRenamed psuedo code file (diff)
downloadcst116-lab0-debugging-starktre-52bac87690fa0f4c86ed248692c799f5af335ede.tar.xz
cst116-lab0-debugging-starktre-52bac87690fa0f4c86ed248692c799f5af335ede.zip
Reformatted math. FinsishedHEADmain
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 9c69bf8..83f8ba7 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -82,7 +82,7 @@ int main()
cout << "Enter percent raise: ";
cin >> raise;
- money += money * raise/100;
+ money += money * (raise / 100);
cout << "After your raise you have $";
cout << money << endl;