From 5c9670155de528b523d8c26411d020960e9b8b7a Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon <114636206+DaBoochillin@users.noreply.github.com> Date: Mon, 24 Oct 2022 17:57:38 -0700 Subject: Add files via upload --- ...orBouchillonCST116-Ch10Debugging Pseudocode.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt (limited to 'TrevorBouchillonCST116-Ch10Debugging Pseudocode.txt') 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 -- cgit v1.2.3