diff options
| author | Evan <[email protected]> | 2022-10-03 19:58:38 -0700 |
|---|---|---|
| committer | Evan <[email protected]> | 2022-10-03 19:58:38 -0700 |
| commit | f2b3071a6b7a8792d88f8f54d81838fd82d3d684 (patch) | |
| tree | a9b6f05d3428dd55c3c5a6f44d7070ef90b786ec /CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | |
| parent | 2 (diff) | |
| download | cst116-ch5-debugging-evanmihm-f2b3071a6b7a8792d88f8f54d81838fd82d3d684.tar.xz cst116-ch5-debugging-evanmihm-f2b3071a6b7a8792d88f8f54d81838fd82d3d684.zip | |
pseudo-code
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp')
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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;
|