aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Stark-Psuedocode.txt
blob: 5525bf73bcb3e4bc3c435b9a008ea6839b2e5ceb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Trenton Stark
CST-116
Chapter 10 Debugging

Psuedo Code:
Create 3 arrays with an SIZE number of elements varX, varY, varZ

Input first and last name into 2d char array
Output welcome message with name

Set each element of varX to the value of its index
Set each element of varY to the value of its index + 100

set varX[1] to -99
Set each element of varZ to the sum of varX and varY at the same index

Set varZ[0] to -99

Output the values of all 3 arrays into an aligned table