aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cst116-Ch.5-Pearse-Pseudocode.txt13
-rw-r--r--cst116-Ch.5-Pearse.txt0
2 files changed, 13 insertions, 0 deletions
diff --git a/cst116-Ch.5-Pearse-Pseudocode.txt b/cst116-Ch.5-Pearse-Pseudocode.txt
new file mode 100644
index 0000000..1898a3d
--- /dev/null
+++ b/cst116-Ch.5-Pearse-Pseudocode.txt
@@ -0,0 +1,13 @@
+main(){
+ float money
+ float raise
+
+ print("You have $" + money)
+
+ print("enter PERCENT raise.")
+ input(raise)
+
+ money = money * (raise * .01 + 1)
+
+ print("You will have $" + money)
+} \ No newline at end of file
diff --git a/cst116-Ch.5-Pearse.txt b/cst116-Ch.5-Pearse.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/cst116-Ch.5-Pearse.txt