请指教如何用if,else语句写出求abc三个数中最大数的过程

如题所述

Dim a, b, c, s as single
If a>b then
s=a
Else
s=b
end if
If s>c then
s=c
Print s
Else
Print s
End if
温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-10-01
If a-b大于0
Then d等于a
Else d等于b
If d-c大于0
Then e等于d
Else e等于c
Print e
相似回答