哈嘍C!輸入某年某月,計算這個月的天數

#include<stdio.h> main() { int month,years; printf("請輸入年月:"); scanf("%d",&years),scanf("%d",&month); //for(i=1;i<=12;i++)爲什麼錯了 if(years%400==0) printf("the month is 29 days"); else if(month==2
相關文章
相關標籤/搜索