From 351f6feffd02163091f2eec318ec010c2d2d7e9d Mon Sep 17 00:00:00 2001 From: DaBoochillin <114636206+DaBoochillin@users.noreply.github.com> Date: Mon, 3 Oct 2022 20:02:53 -0700 Subject: Add files via upload --- Debugging 5 - Pseudocode.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Debugging 5 - Pseudocode.txt 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 -- cgit v1.2.3