freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

c萬年歷課程設計-資料下載頁

2025-01-16 02:50本頁面
  

【正文】 位數(shù)和兩位數(shù)對齊 a[j]=i。 //a數(shù)組用來儲存每一行的日期素材 cout 。 //兩個月份之間的空隙 } coutendl。 for(int w=1。w=5。w++) //一個月最多會在五個星期出現(xiàn) { for(j=0。jchoice。j++) //輸出要求個數(shù)的月份 { int w=1。 for(w=1。w=7。w++,a[j]++) //依次輸出日期 { if(a[j]b[j]) //如果那一行的日期數(shù)大于該月最大日期則跳出 break。 coutsetw(2)a[j] 。 if(w==7) cout 。 //輸出每兩個月之間日期間的空隙 } for(int n=1。a[j]b[j],n=8w。n++) //月份 cout 。 if(a[j]b[j]amp。amp。w!=8) //輸出月份結束后的空 cout 。 } coutendl。 //為了美觀 空一行 } } }}void wnl::printyearmonth(int year,int month){ if(year=1000amp。amp。year=9999) { if(month=12amp。amp。month=1) { cout monthname[month]endl。 cout endl。 coutsetw(6)Sunsetw(6)Monsetw(6)Twosetw(6) Wedsetw(6)Thursetw(6)Frisetw(6)Satendl。 //我覺得輸出這個可以定義一個數(shù)組,用循環(huán)來做,但這樣可能會使執(zhí)行速度變慢 int number=getdays(year,month,1)%7。 //第一天就一就相當于有一天了 for(int k=0。knumber。k++) {coutsetw(6) 。} int max=dayofmonth[month]。 for(int j=1。j=max。j++) { coutsetw(6)j。 if((number+j)%7==0) //周六換行 coutendl。 } coutendlendlendl。 } } else cout沒有按格式輸入endl。}
點擊復制文檔內容
教學課件相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1