aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116-Ch5-Debugging/CST116-Ch5 Debugging Psudo-Code.txt26
-rw-r--r--CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp2
2 files changed, 27 insertions, 1 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5 Debugging Psudo-Code.txt b/CST116-Ch5-Debugging/CST116-Ch5 Debugging Psudo-Code.txt
new file mode 100644
index 0000000..03dfbd8
--- /dev/null
+++ b/CST116-Ch5-Debugging/CST116-Ch5 Debugging Psudo-Code.txt
@@ -0,0 +1,26 @@
+print:
+ Joe Traver
+ CST 116
+ Github ID - joetraver30
+
+money = 123.45
+
+print:
+ "you have $"
+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
diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp
index 7b90e60..47a52c8 100644
--- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp
+++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp
@@ -1,5 +1,5 @@
/********************************************************************
-* File: CST116-lab0-debugging-joetraver30.cpp
+* File: CST116-Ch5-debugging-joetraver30.cpp
*
* General Instructions: Complete each step before proceeding to the
* next.