aboutsummaryrefslogtreecommitdiff
path: root/Debugging 5 - Pseudocode.txt
diff options
context:
space:
mode:
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