From 44eadcab7f3ff7072da109ececb9127f65c16639 Mon Sep 17 00:00:00 2001 From: Tim Pearse Date: Sat, 8 Oct 2022 13:00:41 -0700 Subject: Change 1.5 : Getting the actual code in now. Next step: Exercise 3 --- CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index 851932d..35b0e1c 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -73,10 +73,10 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - cout << "Enter percent raise: "; + cout << "Enter PERCENT raise: "; cin >> raise; - money = money * raise; + money = money * (raise * .01 + 1); cout << "After your raise you have $"; cout << money << endl; -- cgit v1.2.3