diff options
| author | Morgan Cyrus <[email protected]> | 2022-10-07 21:26:48 -0700 |
|---|---|---|
| committer | Morgan Cyrus <[email protected]> | 2022-10-07 21:26:48 -0700 |
| commit | 12989209f8a3cf84e3c33cf76a3c5f69a597bcf9 (patch) | |
| tree | f59e5af173f391ec3105b04f864f6ccffe336c8e /Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt | |
| parent | Finished all exercises. (diff) | |
| download | cst116-ch5-debugging-cyrus-main.tar.xz cst116-ch5-debugging-cyrus-main.zip | |
Final push.
Diffstat (limited to 'Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt')
| -rw-r--r-- | Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt b/Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt new file mode 100644 index 0000000..9172669 --- /dev/null +++ b/Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt @@ -0,0 +1,17 @@ +create variable money and set value of money = 123.45F; +create variable raise; + +print "you have$"; +print money and create new line; + +print "Enter percent raise as a whole number: "; +accept user input and store in raise; + +print the number entered and show as a percentage; +convert value of raise to perform percentage increase of money; + +increase value of money by the percent indicated by the user; + +print the resulting value; + +end
\ No newline at end of file |