aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project
diff options
context:
space:
mode:
authorJoe Traver <[email protected]>2022-10-05 22:01:57 -0700
committerJoe Traver <[email protected]>2022-10-05 22:01:57 -0700
commit11b0f00114bf8f4778415621dd60c482bdf64ff9 (patch)
treefd5e78bd3ebd49044d13234a0788ac2fc0522481 /Ch 5 Debugging Project
parentEdited the raise calculation (diff)
downloadcst116-lab0-debugging-joetraver30-main.tar.xz
cst116-lab0-debugging-joetraver30-main.zip
Final program edit and psudo coder adendumns addedHEADmain
Diffstat (limited to 'Ch 5 Debugging Project')
-rw-r--r--Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code b/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code
index a0d0e52..03dfbd8 100644
--- a/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code
+++ b/Ch 5 Debugging Project/CST116-Lab0-Traver-Pseudo-Code
@@ -12,9 +12,15 @@ 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