diff options
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp')
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 4f9cbed..ba6fd8a 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -65,7 +65,7 @@ //After reading through some of the questions again I realize that me adding a while loop wasn't what was asked of me. I was asked to go back after enter a value of .1 and fix the numbers within the calculation. Although what I did definitely eliminated the possibility for a 'lowering raise'
//added psuedocode file on 10/5/22.
//added output file on 10/5/22.
-
+//After running this program with this addition, it is more of just a multiplicaiton calculator over a raise calculator.
#include <iostream>
#include <iomanip>
@@ -75,9 +75,13 @@ using std::endl; int main()
{
- float money = 123.45F;
+ float money;
float raise;
+ //added a quality step to make this a more definable program. 10.5.22 at 3pm.
+ cout << "Enter your current salary" << endl;
+ cin >> money;
+
cout << "You have $";
cout << money << endl;
|