From d41508654be2313c51769bc053dcaf94f29609bb Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Tue, 4 Oct 2022 13:59:47 -0700 Subject: small details --- CST116-Ch5-Debugging/CST116-Ch5-Lopez-Bonilla.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CST116-Ch5-Debugging') 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; -- cgit v1.2.3