aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1944742..9c69bf8 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;
+ money += money * raise/100;
cout << "After your raise you have $";
cout << money << endl;