古詩詞大全網 - 成語大全 - vbscript函數

vbscript函數

dim a,b,c,d

a=inputbox("請輸入第壹個數")

b=inputbox("請輸入第二個數")

c=inputbox("請輸入第三個數")

if a>=b and a>=c then d=a

if b>=a and b>=c then d=b

if c>=a and c>=b then d=c

msgbox "最大的數是" & d