下列程序要求用户输入一个年份,并能够判断用户输入的年份是否是闰年,横线处应填( )。 Sub EnSure() Dim year As Integer year=Val(InputBox(”请输入年份:”)) If(year Mod 4=0__________year Mod 100<>0)_________(year Mod 400= 0)Then Print”您输入的是闰年” Else Print”不是闰年,是普通年份” End If End Sub
【正确答案】 B
【答案解析】