一、寫出下列程式的執行結果:
talk off
y=1
if y<>0
x=3
else
x=5
endif
if x>4
if y<0
x=2
else
if x>.y>0
x=12
else
x=30
endif
endif
else
x=5
endif
x
1、set talk off
a=100*rand( )
b=100*rand( )
c=100*rand( )
max=a
min=a
if max
max=b
endif
if min>b
min=b
endif
if max
max=c
endif
if min>c
min=c
endif
a,b
四、鍵盤輸入a,b,c的值,判斷它們能否構成三角形的三條邊,若能構成一個三角形,則計算三角形的面積。請用表單和建立命令檔案兩種方法。
五、建立一個表單,如圖,開始自動顯示系統時間,當在文字框中輸入一個數值後,按“之前”或“之後”按鈕,使可顯示指定天數之前或之後的日期和星期。