摘要:
#include<iostream>using namespace std;int main(){ int year,month,day; int m[12]={31,28, 31,30,31,30,31,31,30,31,30,31}; cout<<"请输入年月日:"; cin>>year>>month>>day; if(year%400==0 || year%4==0 && year%100!=0) m[1]=29; int sumdays=0; for(int i=0;i<month-1 阅读全文
posted @ 2012-11-22 11:46
byfei
阅读(170)
评论(0)
推荐(0)

浙公网安备 33010602011771号