#include<stdio.h> void main() { int i,a[11]={1,8,4,7,9,3,6,4,5,3,33},max; max=a[0]; for(i=0;i<11;i++) { if(a[i]>max) max=a[i]; } printf("%10d",max); }
#define swap(a, b) int temp; temp = (a); (a) = (b); (b) = temp;