aboutsummaryrefslogtreecommitdiff
path: root/cst116-ch10-debugging-wilson-pseudo-code.txt
blob: 46a65d415195a565b6f994584abe6bcde42e9907 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
With first name in row 0, last name in row 1

DISPLAY "Please enter your first name: ";
READ name[0];

DISPLAY "Please enter your last name: ";
READ name[1];

DISPLAY "Welcome " name[0] " " name[1] "!   Hope all is well";

FOR (int x = 0; x < SIZE; x++) 
        varX[x] = x;

FOR x = 0, IF x < SIZE, x++
        varY[x] = x + 100;