摘要:
#include using namespace std;struct date{int day;int month;int year;int yeardays;};void days(struct date *pd);void main(){struct date ymd;cout > ymd.year >> ymd.month >> ymd.day;days(&ymd);cout yeardays = pd -> day;Ip = pd->year%4==0&&pd||pd->year%100!=0||pd->y 阅读全文