Prog#119: Biggest 10 nos - integer array

/* 
Program#119
Biggest 10 nos - integer array
*/

#include <stdio.h>
main(){
int i,big,a[10];
big=0;
for(i=0;i<10;i++)
scanf("%d",&a[i]);
for(i=0;i<10;i++)
big=(a[i]>big)?a[i]:big;
printf("\n %d",big);
}