All pastes #442519 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-16 10:03 UTC
rendered paste body
#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;
}