... INT LEAP(INT); /*判断是否为闰年*/ INT MD(INT M,INT Y); /*返回本月的天数*/ VOID PRTWEEK(VOID); /*输出表头*/ ...
基于14个网页-相关网页
如果你忽略1900年,你就可以通过观察最右边的两位是否都为零来判断某一年是否为闰年。
If you ignore 1900, you can figure out if a given year is a leap year just by looking to see if the rightmost two bits are zero.
自己编写一段程序判断一个年份(比如1900年)是否是闰年,是则显示1900年为闰年,否则显示1900年不是闰年。
I have written a program to determine whether a year (such as 1900) is a leap year, is the show in 1900 as a leap year, otherwise show that 1900 was not a leap year.
应用推荐