diff options
Diffstat (limited to 'CST116-Ch5-Debugging')
| -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;
|