aboutsummaryrefslogtreecommitdiff
path: root/CST116-ch5-Crombie-psuedo-code.txt
diff options
context:
space:
mode:
authorJonCr <[email protected]>2022-10-05 17:54:53 -0700
committerJonCr <[email protected]>2022-10-05 17:54:53 -0700
commit1a08cd5f8ffeb3e03c9a0bd0a2b8d543885796fd (patch)
treef758b8f36fb15d9b82de9d663a2707bc9f6ec017 /CST116-ch5-Crombie-psuedo-code.txt
parentUpdate (diff)
downloadcst116-ch5-debugging-cognitiveshadow-main.tar.xz
cst116-ch5-debugging-cognitiveshadow-main.zip
FinishedHEADmain
Diffstat (limited to 'CST116-ch5-Crombie-psuedo-code.txt')
-rw-r--r--CST116-ch5-Crombie-psuedo-code.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CST116-ch5-Crombie-psuedo-code.txt b/CST116-ch5-Crombie-psuedo-code.txt
new file mode 100644
index 0000000..7523432
--- /dev/null
+++ b/CST116-ch5-Crombie-psuedo-code.txt
@@ -0,0 +1,13 @@
+Set money = 123.45
+Create "raise" variable
+
+Display current amount of money
+ "You have $[money]"
+
+Prompt user to enter raise amount
+ "Enter percent raise: "
+
+Add raise to current amount of money
+
+Display new amount of money
+ "After your raise you have $[money with raise]" \ No newline at end of file