diff options
Diffstat (limited to 'CST116-Ch10-Debugging-Pseudocode.txt')
| -rw-r--r-- | CST116-Ch10-Debugging-Pseudocode.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/CST116-Ch10-Debugging-Pseudocode.txt b/CST116-Ch10-Debugging-Pseudocode.txt new file mode 100644 index 0000000..03a48ab --- /dev/null +++ b/CST116-Ch10-Debugging-Pseudocode.txt @@ -0,0 +1,48 @@ +Program Begins + +Constant variable SIZE is set to 10 + +int arrays varX, varY, varZ are declared and set to SIZE + +Functions calls GetAndDisplayWelcomeInfo, FunctionOne, FunctionTwo and PrintFunction are declared. + +Function GetAndDisplayWelcomeInfo starts here + +Character array name is declared. + +Display Please Enter your first name +Enter First Name + +Display Please enter your last name + +enter Last name + +Display Welcome (name goes here) Hope all is well + +Function Ends here + + +Function FunctionOne starts here + +For loop is done to count the x in the varX array + +For loop is done to produce varY by adding 100 to the existing x + +Function ends here + + +FunctionTwo starts here + +varX array 1 is += -99 + +For loop is done to produce varZ variable by adding varX and varY + +Function ends here + +PrintFunction starts here + +integer x is declared + +Display in three columns + +for loop is done to produce the numbers of varX, varY, varZ
\ No newline at end of file |