diff options
| author | Evan <[email protected]> | 2022-10-03 20:04:29 -0700 |
|---|---|---|
| committer | Evan <[email protected]> | 2022-10-03 20:04:29 -0700 |
| commit | 900ce0624b67489fef44e8f79359ed11e1885745 (patch) | |
| tree | ac7f9e966779725a11d6e551f160f6090b7bdccb | |
| parent | pseudo-code (diff) | |
| download | cst116-ch5-debugging-evanmihm-900ce0624b67489fef44e8f79359ed11e1885745.tar.xz cst116-ch5-debugging-evanmihm-900ce0624b67489fef44e8f79359ed11e1885745.zip | |
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index 4c37986..74b6b84 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -68,8 +68,8 @@ /*
-I had a lot of problems trying to follow the instuctions, VS didnt behave how it
-was suppose to.
+I had a lot of problems trying to get the instuctions to work, VS didnt behave
+how it was suppose to.
*/
#include <iostream>
@@ -80,20 +80,20 @@ using std::endl; int main()
{
- //defines the term money, and how much you have
+ //determinds how much money there is
float money = 123.45F;
//defines the term raise
float raise;
//displays in the command box "You have $"
cout << "You have $";
- //diplays the amount of money/number that is defined
+ //diplays the amount of money that is defined
cout << money << endl;
// Breakpoint 1
// Put a breakpoint on the following line
- //displays "Enter percent raise" then uses it as the 'raise' value
+ //displays "Enter percent raise" requires user input for the number
cout << "Enter percent raise: ";
cin >> raise;
|