【正文】
4整除且不能被 100整除或能被400整除的年份,那么輸出為閏年,否則輸出不是閏年 Dim y as integer Y=inputbox(“輸入一個(gè)年號(hào)” ) If ___________________________________ then Print y ?!笔情c年” else Print y 。選擇結(jié)構(gòu) 復(fù)習(xí) 選擇結(jié)構(gòu) 格式 1: If 條件 then 語句組 1 [else語句組 2] 格式 2: If 條件 then 語句組 1 [else 語句組 2] end if If 46 then a= 10 else a=20 Print a