Mine
public text v1 · immutable#include <stdio.h>
int main()
{
int m[3][3] = {1, 5, 3, 4, 9, 10, 16, 2, 7};
int max, i;
max = m[0][0];
for (i = 0; i < 3; i++) {
if (m[i][i] > max) {
max = m[i][i];
}
}
printf("%d", max);
getche();
return 0;
}