aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-09-29 15:54:49 -0700
committerGitHub <[email protected]>2022-09-29 15:54:49 -0700
commit74bcf3b0451620f42359890479a86aefa559c07c (patch)
treeb115efee2161dd084985b94a116ea70087e1d148 /Ch 5 Debugging Project
parentFinished (diff)
downloadcst116-lab0-debugging-hill-main.tar.xz
cst116-lab0-debugging-hill-main.zip
Create Ch 5 Debugging Project - HillHEADmain
Diffstat (limited to 'Ch 5 Debugging Project')
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project - Hill15
1 files changed, 15 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill b/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill
new file mode 100644
index 0000000..ee15dea
--- /dev/null
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill
@@ -0,0 +1,15 @@
+You have $123.45
+Enter percent raise: .1
+After your raise you have $135.795
+
+Pseudo Code:
+
+1. money = 123.45F;
+2. raise;
+3. print "You have $";
+4. print money \endline;
+5. print "Enter a percent raise";
+6. input raise;
+7. money = money * (1 + raise);
+8. print "After your raise you have $"
+9. print money \endline;