aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp
diff options
context:
space:
mode:
authorAnibal LopezBonilla <[email protected]>2022-10-04 13:59:47 -0700
committerAnibal LopezBonilla <[email protected]>2022-10-04 13:59:47 -0700
commitd41508654be2313c51769bc053dcaf94f29609bb (patch)
tree9ee45208debf9e76b631906ba49899ff1018d04b /CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp
parentSmall details (diff)
downloadarchived-cst116-ch5-debugging-buzzerbeaterclutch-d41508654be2313c51769bc053dcaf94f29609bb.tar.xz
archived-cst116-ch5-debugging-buzzerbeaterclutch-d41508654be2313c51769bc053dcaf94f29609bb.zip
small details
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp')
-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;