aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-05 14:50:34 -0700
committerprestonderek <[email protected]>2022-10-05 14:50:34 -0700
commitb9146a8934a14963240b1d111e5165a5a53abbd9 (patch)
treed2efc9edb2ebada9556d574ff51be3f674c58703 /Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt
parentCommit on 10/5/22 (diff)
downloadcst116-lab0-debugging-prestonderek-b9146a8934a14963240b1d111e5165a5a53abbd9.tar.xz
cst116-lab0-debugging-prestonderek-b9146a8934a14963240b1d111e5165a5a53abbd9.zip
Commit 10/5/22 for pseduocode and output files
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