From f2b3071a6b7a8792d88f8f54d81838fd82d3d684 Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 3 Oct 2022 19:58:38 -0700 Subject: pseudo-code --- CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp') diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index 2545e26..4c37986 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -93,12 +93,14 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - //displays "Enter percent raise" then uses it as the 'raise' + //displays "Enter percent raise" then uses it as the 'raise' value cout << "Enter percent raise: "; cin >> raise; + //this is the equation used to calculate the raise amount money = money * raise; + //displayed the final result from the equation cout << "After your raise you have $"; cout << money << endl; -- cgit v1.2.3