diff options
| author | Joe Traver <[email protected]> | 2022-10-11 21:56:03 -0700 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-10-11 21:56:03 -0700 |
| commit | c1f20a9753438c21603664d3755293498a90810d (patch) | |
| tree | fb1619a1ebe2f7c402a4c6b5cfa64bf6bc8fb72d /CST116-Ch5-Debugging/CST116-Ch5 Debugging-traver- Psudo-Code.txt | |
| parent | text title change (diff) | |
| download | cst116-ch5-debugging-joetraver30-main.tar.xz cst116-ch5-debugging-joetraver30-main.zip | |
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.txt | 26 |
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 |