开放大学在线学习搜题
当前位置:首页 > 学习题库 > C程序设计语言

问题

下面程序代码的功能是 。 Private Sub Command1_Click() a = Val(Text1.Text) b = Val(Text2.Text) c = Val(Text3.Text) If a > b Then t = b Else t = a End If If t > c Then t = c End If Print t End Sub

发布时间:2025-06-04   作者:江苏开放大学   浏览:0

下面程序代码的功能是         。

Private Sub Command1_Click()

a = Val(Text1.Text)

b = Val(Text2.Text)

c = Val(Text3.Text)

If a > b Then

t = b

Else

t = a

End If

If t > c Then

t = c

End If

Print t

End Sub

  A:求三个数的最大值  B:求三个数的最小值  C:求三个数的中间值  D:不能确定

您可能感兴趣的试题