diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-24 17:57:38 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-24 17:57:38 -0700 |
| commit | 5c9670155de528b523d8c26411d020960e9b8b7a (patch) | |
| tree | 44e2901d623f3670efa55d5017236fc51a59ebf6 /TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt | |
| parent | added txt file (diff) | |
| download | cst116-ch10-debugging-daboochillin-5c9670155de528b523d8c26411d020960e9b8b7a.tar.xz cst116-ch10-debugging-daboochillin-5c9670155de528b523d8c26411d020960e9b8b7a.zip | |
Diffstat (limited to 'TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt')
| -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 |