• 2022-06-07
    判定year是否为闰年的表达式是
    A: year % 400 == 0 or year % 4 == 0 and year % 100 <> 0
    B: year % 400 == 0 or year % 4 == 0 , year % 100 != 0
    C: year % 400 == 0 or year % 4 == 0 and year % 100 != 0
    D: year % 400 == 0 or year % 4 == 0 , year % 100 <> 0