中国大学MOOC: 如果在北京时间18点20分运行以下代码,程序的输出是______。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 IfEnd Sub
举一反三
- 如果在北京时间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 IfEnd Sub A: 欢迎下次光临! B: 上午好! C: 下午好! D: 无输出
- 如果在北京时间18点20分运行以下代码,程序的输出是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 IfEnd Sub A: 欢迎下次光临! B: 上午好! C: 下午好! D: 无输出
- Time is ____by hour, minute and second.
- Heather and Myrtle have the same tastes. Heather is paid $10 an hour and chooses to work 9 hours a day. Myrtle is paid $9 an hour for the rst 8 hours she works and $18 an hour for any time she works beyond 8 hours a day.
- 飞行时间的正确说法是哪项? A: arrival time B: flight time C: departure time D: hour