aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt')
-rw-r--r--Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt b/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt
new file mode 100644
index 0000000..079301e
--- /dev/null
+++ b/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt
@@ -0,0 +1,20 @@
+start main function
+
+initialize variable money
+initialize empty variable raise
+
+print amount of money
+
+print enter raise amount
+input raise amount in percentage above 1
+
+while raise is below 1
+ print raise amount must be above 1
+ print enter raise amount
+ input raise amount above 1
+
+calculate money * raise
+
+print money after raise
+
+end main function