aboutsummaryrefslogtreecommitdiff
path: root/CST116-Debugging-Rogers
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-05 17:54:34 -0700
committerTaylor Rogers <[email protected]>2022-10-05 17:54:34 -0700
commit0dd14bf2746abb280e62a7859bae99f3baac4f58 (patch)
tree7703423ba4ddd94e7b97e17b5cd1c147b89c0844 /CST116-Debugging-Rogers
parentAdded name/class/lab#/Topic (diff)
downloadcst116-lab0-debugging-taylorrog-0dd14bf2746abb280e62a7859bae99f3baac4f58.tar.xz
cst116-lab0-debugging-taylorrog-0dd14bf2746abb280e62a7859bae99f3baac4f58.zip
Added pseudoHEADmain
Diffstat (limited to 'CST116-Debugging-Rogers')
-rw-r--r--CST116-Debugging-Rogers/CST116-Debugging-Pseudo-Code-Rogers.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/CST116-Debugging-Rogers/CST116-Debugging-Pseudo-Code-Rogers.txt b/CST116-Debugging-Rogers/CST116-Debugging-Pseudo-Code-Rogers.txt
new file mode 100644
index 0000000..4bd6c8c
--- /dev/null
+++ b/CST116-Debugging-Rogers/CST116-Debugging-Pseudo-Code-Rogers.txt
@@ -0,0 +1,22 @@
+include iostream, iomanip
+using std::cout, cin, endl
+
+Program start
+
+Variable 1: money
+Initial value: 123.45
+
+Variable 2: raise
+Initial value: empty
+
+Console:
+Line 1, output:" You have $[money]" endline
+
+Line 2, output: "Enter percent raise: "
+Line 2, input: "raise" endline
+
+Math: money = money + money * raise
+
+Line 3, output: "After your raise you have $[money]" endline
+
+Program end \ No newline at end of file