aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt
diff options
context:
space:
mode:
authorJoe Traver <[email protected]>2022-10-11 21:56:03 -0700
committerJoe Traver <[email protected]>2022-10-11 21:56:03 -0700
commitc1f20a9753438c21603664d3755293498a90810d (patch)
treefb1619a1ebe2f7c402a4c6b5cfa64bf6bc8fb72d /CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt
parenttext title change (diff)
downloadcst116-ch5-debugging-joetraver30-main.tar.xz
cst116-ch5-debugging-joetraver30-main.zip
Final touchesHEADmain
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt')
-rw-r--r--CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt b/CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt
new file mode 100644
index 0000000..03dfbd8
--- /dev/null
+++ b/CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt
@@ -0,0 +1,26 @@
+print:
+ Joe Traver
+ CST 116
+ Github ID - joetraver30
+
+money = 123.45
+
+print:
+ "you have $"
+output = money
+
+prompt:
+ "Enter percent raise"
+input = raise
+
+ adendumn:
+ raise = raise * .01
+
+money = money * raise
+
+ adendumn:
+ money = money * (1+raise)
+
+print:
+ "After your raise you have $"
+ output = money