printf在变量前,报错提示变量未定义? printf("请输入年月日:(年,月,日)"); int year,month,day; int flag,days=0; scanf("%d,%d,%d",&year,