问题描述:
vf计算最大值的问题
clear
input "请输入第一个数字:" to a
input "请输入第二个数字:" to b
input "请输入第三个数字:" to c
if a>=b
if a>=c
?"最大值:",a
else
?"最大值:",c
endif
else
if b>=c
?"最大值:",b
else
?"最大值:",c
endif
endif
谁能帮我讲下这段代码
越详细越好,为什么这么写,左右是什么
clear
input "请输入第一个数字:" to a
input "请输入第二个数字:" to b
input "请输入第三个数字:" to c
if a>=b
if a>=c
?"最大值:",a
else
?"最大值:",c
endif
else
if b>=c
?"最大值:",b
else
?"最大值:",c
endif
endif
谁能帮我讲下这段代码
越详细越好,为什么这么写,左右是什么
问题解答:
我来补答展开全文阅读