/in/foo.c: In function 'main':
/in/foo.c:7:11: warning: self-comparison always evaluates to true [-Wtautological-compare]
for(n=0;n<=n;n++)
^~
/in/foo.c:8:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
scanf("%d ",&a[n]);
^
/in/foo.c:10:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
{if(a[n]<a[n+1])
^~
/in/foo.c:12:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
a[n]=a[n+1];
^
/in/foo.c:5:11: warning: unused variable 'n1' [-Wunused-variable]
int n,n2,n1,i=1,t,m,max;
^~
/in/foo.c:5:8: warning: unused variable 'n2' [-Wunused-variable]
int n,n2,n1,i=1,t,m,max;
^~