aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/CST116-CH5-Cyrus-pseudo-code.txt
diff options
context:
space:
mode:
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.txt17
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