Answer:
The algorithm is as follows:
1. START
2. ARRAY2D[3][4]
2. FOR ROW = 0 to 3
2.1 FOR COL = 0 to 2
2.1.1 IF ARRAY2D[ROW][COL] > 7
2.1.1.1 PRINT
2.1.2 END IF
2.2 END FOR
3 END FOR
4. STOP
Explanation:
This begins the algorithm
1. START
This creates a 2d array of 3 column and 4 rows
2. ARRAY2D[3][4]
This iterates through the rows
2. FOR ROW = 0 to 3
This iterates through the columns
2.1 FOR COL = 0 to 2
Check if array element is greater than 7
2.1.1 IF ARRAY2D[ROW][COL] > 7
Print the element, if true
2.1.1.1 PRINT ARRAY2D[ROW][COL]
The following ends the condition and iterations
<em>2.1.2 END IF</em>
<em>2.2 END FOR</em>
<em>3 END FOR</em>
This ends the algorithm
4. STOP