diff options
| author | Joe Traver <[email protected]> | 2022-10-10 15:16:19 -0700 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-10-10 15:16:19 -0700 |
| commit | 9520fee2c53c3ec49ff6dbb296ec86523d0e35d4 (patch) | |
| tree | 758015c06ede7471146fe4afe749a62e9ef27ec0 | |
| parent | Corrected final calculation (diff) | |
| download | cst116-ch5-debugging-joetraver30-9520fee2c53c3ec49ff6dbb296ec86523d0e35d4.tar.xz cst116-ch5-debugging-joetraver30-9520fee2c53c3ec49ff6dbb296ec86523d0e35d4.zip | |
Added psudo code txt file
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5 Debugging Psudo-Code.txt | 26 | ||||
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 2 |
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.
|