diff options
| -rw-r--r-- | TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt b/TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt new file mode 100644 index 0000000..2d21571 --- /dev/null +++ b/TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt @@ -0,0 +1,29 @@ +create function GetAndDisplayWelcomeInfo
+create function Function1 and intialize integer arrays varX and varY
+create function Function2 and intialize integer arrays varX, varY, and varZ
+create function PrintFunction and intialize integer arrays varX, varY, and varZ
+
+create constant integer SIZE and set it equal to 8
+
+Within main create int arrays varX, varY, and varZ and set their size to SIZE.
+Move to function GetAndDisplayWelcomeInfo
+create char array name
+display "Please enter your first name: "
+input into name row 0
+display "Please enter your last name: "
+input into name row 1
+display "Welcome ", name row0, " ", name row1, "!", "Hope all is well".
+
+move back to main
+move to function one
+fill varX with x as it increments within a loop 8 times.
+fill varY with x + 100 as it increments
+move back to main
+move to function two
+
+set varX row1 equal to 99
+fill varZ with varX + VarY
+move back to main
+set varZ row0 equal to -99
+move to PrintFunction
+display arrays varX, varY, and varZ
\ No newline at end of file |