aboutsummaryrefslogtreecommitdiff
path: root/Debugging 5 - Pseudocode.txt
diff options
context:
space:
mode:
authorDaBoochillin <[email protected]>2022-10-03 20:02:53 -0700
committerGitHub <[email protected]>2022-10-03 20:02:53 -0700
commit351f6feffd02163091f2eec318ec010c2d2d7e9d (patch)
tree4fafff90431b8df9b8dedec5112a0f8cb4d8cb49 /Debugging 5 - Pseudocode.txt
parentTxt File Added (diff)
downloadcst116-lab0-debugging-trevor-bouchillon-main.tar.xz
cst116-lab0-debugging-trevor-bouchillon-main.zip
Add files via uploadHEADmain
Diffstat (limited to 'Debugging 5 - Pseudocode.txt')
-rw-r--r--Debugging 5 - Pseudocode.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Debugging 5 - Pseudocode.txt b/Debugging 5 - Pseudocode.txt
new file mode 100644
index 0000000..206155f
--- /dev/null
+++ b/Debugging 5 - Pseudocode.txt
@@ -0,0 +1,17 @@
+Define amount of money you have to 123.45
+Print out "You have $"
+Print out the variable money
+
+Create loop to make sure user enters a valid percentage.
+print out "Enter percent raise:"
+Intake value for variable "raise"
+
+ If value is great than 1
+ print out "Please enter a value between 0 and 1"
+ else if value is less than 1
+ print out "Please enter a value between 0 and 1"
+ else
+ add 1 to value of "raise"
+ set variable "money" by multipling "money" and "raise"
+Print out "after raise you have $"
+print out value of money. \ No newline at end of file