foo.c: In function 'caculatedate':
foo.c:17:15: error: 'intdaysinmonth' undeclared (first use in this function); did you mean 'daysinmonth'?
17 | if(dd>intdaysinmonth[mm-1])
| ^~~~~~~~~~~~~~
| daysinmonth
foo.c:17:15: note: each undeclared identifier is reported only once for each function it appears in
foo.c:12:13: warning: variable 'daysinmonth' set but not used [-Wunused-but-set-variable]
12 | int daysinmonth[]={31,28,31,30,31,30,31,31,30,31,30,31};
| ^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务