DimyeaAsIntegerDimLeapYearAsBooleanyea=InputBox("请输入年号:"
)If((yeaMod4)=0)ThenLeapYear=((yeaMod100)>0)Or((yeaMod400)=0)EndIfIfLeapYearThenMsgBoxyea&"年是闰年。"ElseMsgBoxyea&"不是闰年"
DimyeaAsIntegerDimLeapYearAsBooleanyea=InputBox("请输入年号:"
)If((yeaMod4)=0)ThenLeapYear=((yeaMod100)>0)Or((yeaMod400)=0)EndIfIfLeapYearThenMsgBoxyea&"年是闰年。"ElseMsgBoxyea&"不是闰年"