单项选择题

如果在北京时间7点50分运行以下代码,程序的输出是( )。 Sub Procedure() If Hour(Time())>=8 And Hour(Time())<12 Then Debug.Print上午好!" ElseIf Hour(Time())>=12 And Hour(Time())<18 Then Debug.Print"下午好!" Else Debug.Print"欢迎下次光临!" End If End Sub

A.欢迎下次光临!
B.上午好!
C.下午好!
D.无输出
题目列表

你可能感兴趣的试题

微信扫码免费搜题