From cd4ebddc84aa8fb208ed599d00d614e137e5aa1c Mon Sep 17 00:00:00 2001 From: Tim Pearse Date: Sat, 8 Oct 2022 13:18:03 -0700 Subject: Change 2: Exercise 3 complete, as well as pseudocode. --- cst116-Ch.5-Pearse-Pseudocode.txt | 13 +++++++++++++ cst116-Ch.5-Pearse.txt | 0 2 files changed, 13 insertions(+) create mode 100644 cst116-Ch.5-Pearse-Pseudocode.txt create mode 100644 cst116-Ch.5-Pearse.txt 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 -- cgit v1.2.3