2012.2 今天是2012年4月12日星期四,編寫程序,輸入今天開始到12月31日之間的任意日期

//今天是2012年4月12日星期四,編寫程序,輸入今天開始到12月31日之間的任意日期, //輸出那一天是星期幾。例如 輸入:5 20 (5月20),輸出:sunday //monday tuesday wedsday thursday friday saturday sunday //思路,每月有30和31天,區分開來。構造結構體,其中有日期,以及對應周幾。
相關文章
相關標籤/搜索