> 其他 >
VB中求a,b,c中最大值的编码是什么?
人气:448 ℃ 时间:2020-10-01 22:51:44
解答
Dim a As Integer,b As Integer,c As Integer,Max As Integer,Min As Integera = InputBox("请输入a值")b = InputBox("请输入b值")c = InputBox("请输入c值")If a > b ThenMax = aMin = bElseMax = bMin = aEnd IfIf...
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版