该程序编译显示没问题,但结果输出总是第0天,请问是哪里出了问题😭
没接收函数返回值呀 ,t=dijitian(year,month,day);
t没赋值,没把输出结果赋值给t,t=dijitian(year,month,day)