鄂教版信息技术九下第4课《条件转移选择结构》课件.pptVIP

  • 5
  • 0
  • 约6.22千字
  • 约 31页
  • 2017-09-10 发布于河北
  • 举报

鄂教版信息技术九下第4课《条件转移选择结构》课件.ppt

第3章 选择结构 3.2 If语句 3.2.1 If…Then语句 ? If 条件表达式 Then 语句块 End If ? 对输入的数值进行判断。输入的年龄小于10时,在MessageBox内显示: If intAge10Then MessageBox.Show(The age may be wrong ) End If Dim strInfo As String Dim strTemp As String strInfo = 奖学金的选择情况: If RbtnBursary1.Checked = True Then strTemp = 一等奖 End If If RbtnBursary2.Checked = True Then strTemp = 二等奖 End If If RbtnBursary3.Checked = True Then strTemp = 三等奖 End If strInfo = strInfo strTemp 性别

文档评论(0)

1亿VIP精品文档

相关文档