aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp
diff options
context:
space:
mode:
authorEvan <[email protected]>2022-10-03 20:04:29 -0700
committerEvan <[email protected]>2022-10-03 20:04:29 -0700
commit900ce0624b67489fef44e8f79359ed11e1885745 (patch)
treeac7f9e966779725a11d6e551f160f6090b7bdccb /CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp
parentpseudo-code (diff)
downloadcst116-ch5-debugging-evanmihm-main.tar.xz
cst116-ch5-debugging-evanmihm-main.zip
more pseudo code changesHEADmain
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp')
-rw-r--r--CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp10
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;