diff options
| author | Taylor Rogers <[email protected]> | 2022-10-05 17:54:34 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-10-05 17:54:34 -0700 |
| commit | 0dd14bf2746abb280e62a7859bae99f3baac4f58 (patch) | |
| tree | 7703423ba4ddd94e7b97e17b5cd1c147b89c0844 | |
| parent | Added name/class/lab#/Topic (diff) | |
| download | cst116-lab0-debugging-taylorrog-main.tar.xz cst116-lab0-debugging-taylorrog-main.zip | |
| -rw-r--r-- | CST116-Debugging-Rogers/CST116-Debugging-Pseudo-Code-Rogers.txt | 22 |
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 |