函数法求天数:本题要求实现一个函数sumday,可计算输入的日期是这年中的第几天。函数接口定义:int sumday(int year,int month,int day);
#includeintsumday(intyear,intmonth,intday);intmain(){intyear,month,day,days;scanf("%d/%d/%d",&year,&month,&day);days=sumday(year,month,day);printf("%d",days);return0;}/*请在这里填写答案*/intsumday(intyear,int