foo.c: In function 'main':
foo.c:8:2: warning: implicit declaration of function 'whlie' [-Wimplicit-function-declaration]
whlie(n>10)
^~~~~
foo.c:9:2: error: expected ';' before '{' token
{
^
foo.c:5:12: warning: unused variable 'a' [-Wunused-variable]
int n,i,a[16];
^
foo.c:5:10: warning: unused variable 'i' [-Wunused-variable]
int n,i,a[16];
^
foo.c:7:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务