If year is a century year like 1900, 2000, 2100 then it will be a leap year after 4 centuries, hence if ( year %100 == 0 ) check if(year%400==0) if both are yes ...
確定! 回上一頁