/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int a[10];
int i;
int max;
for(i=0;i<10;i++)
scanf("%d",&a[i]);
max=a[0];
for(i=1;i<10;i++)
{ if(max<a[i])
max=a[i];}
printf("the max is %d\n",max);
}
/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{ int a[10];
int i;
int max;
for(i=0;i<10;i++)
scanf("%d",&a[i]);
max=a[0];
for(i=1;i<10;i++)
{ if(max<a[i])
max=a[i];}
printf("the max is %d\n",max);
}