88问答网
所有问题
请指教如何用if,else语句写出求abc三个数中最大数的过程
如题所述
举报该问题
推荐答案 2014-10-01
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
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://88.wendadaohang.com/zd/MBKKtaVggBVVct1gKgc.html
其他回答
第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
相似回答
大家正在搜
相关问题
用if…else语句多分支结构求三个数中最大的数
1.便写程序用if else分支结构语句,求a,b,c三个数...
用if else句型,编写求4个数中最大者的程序
有三个整数a,b,c,由键盘输入,输出其中最大值的数(用if...
c语言if语句 求三个整数中最大的数
c语言编程,求abc三个数的最大值
c语言中求abc三个数中的最大数
刚学C程序设计……求大神解答 用if else来判断三个数的...