DIM A AS INTEGER, B AS INTEGER
DIM C AS INTEGER
A= VAL(INPUTBOX(“请输入第一个数”))
B= VAL(INPUTBOX(“请输入第二个数”))
C= VAL(INPUTBOX(“请输入第三个数”))
IF A>B THEN
T=A
A=B
B=T
IF A>C THEN
A=C
C=T
IF THEN
PRINT A,B,C
PRINT A,C,B
END IF
微信扫码预览、分享更方便