Pseudocode
← Building blocks
2D arrays
built by teacher Quan
N
Example
Declare and set one cell
Fill with nested FOR
Copy a whole array
1
DECLARE Grid : ARRAY[1:3,1:3] OF INTEGER
2
Grid[2,1] ← N
3
OUTPUT Grid[2,1]
4
5
6
7
8
9
10
Hide notes
← Step
Step →
Reset
Random