/in/foo.c: In function 'main':
/in/foo.c:5:8: error: expected declaration specifiers or '...' before string constant
scanf("%d%d%d",&m,&s,&t);
^
/in/foo.c:5:17: error: expected declaration specifiers or '...' before '&' token
scanf("%d%d%d",&m,&s,&t);
^
/in/foo.c:5:20: error: expected declaration specifiers or '...' before '&' token
scanf("%d%d%d",&m,&s,&t);
^
/in/foo.c:5:23: error: expected declaration specifiers or '...' before '&' token
scanf("%d%d%d",&m,&s,&t);
^
/in/foo.c:6:2: error: 't1' undeclared (first use in this function)
t1=t-(m/10);
^
/in/foo.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:2: error: 'm1' undeclared (first use in this function)
m1=m%10;
^
/in/foo.c:14:6: error: 'i' undeclared (first use in this function)
for(i=1;;i++)
^
/in/foo.c:16:3: error: 's2' undeclared (first use in this function)
s2=(i*4+m1)/10*60;
^
/in/foo.c:17:3: error: 'a' undeclared (first use in this function)
a=(i*4+m1)/10;
^
/in/foo.c:23:2: error: expected declaration or statement at end of input
}
^