/in/foo.c: In function 'main':
/in/foo.c:13:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
{scanf("%c",&name);
^
/in/foo.c:16:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
scanf("%c",&isvip);
^
/in/foo.c:17:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
scanf("%c",&iswest);
^
/in/foo.c:37:21: error: 'k' undeclared (first use in this function)
printf("%c\n",Name[k]);
^
/in/foo.c:37:21: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:11:6: warning: variable 'Name' set but not used [-Wunused-but-set-variable]
int Name[N];
^~~~
/in/foo.c:6:6: warning: unused variable 'sumBUD' [-Wunused-variable]
int sumBUD,sumAll;
^~~~~~