aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch10-Debugging-Pseudocode.txt
blob: 03a48ab89480e5e4d536817877343b101f1279e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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