CS Pseudocode

You might also like

You are on page 1of 1

2.

Write a pseudocode that prints the maximum of each column in


a 2D array.
Greatest = array[n]
for i from 1 to length(array):
i= array[i]
if Greatest < i
Greatest = i
Output Greatest

3.

You might also like