From 2b7c299297e1ccbfd19234c1f81b5563a6a7a1e9 Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Wed, 26 Oct 2022 20:50:04 -0700 Subject: Push 3 --- CST116-Ch10-Debugging-Pseudocode.txt | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 CST116-Ch10-Debugging-Pseudocode.txt (limited to 'CST116-Ch10-Debugging-Pseudocode.txt') 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 -- cgit v1.2.3