aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch5-Debugging
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch5-Debugging')
-rw-r--r--CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp
index 38a6c87..090dc6a 100644
--- a/CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp
+++ b/CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp
@@ -85,8 +85,11 @@ int main()
cin >> raise;
//money = money * raise;
+ //Calculations
raise = money * raise;
money = money + raise;
+
+ //User recives amount of money after calculations
cout << "After your raise you have $";
cout << money << endl;