一、写出下列程序的运行结果:
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的值,判断它们能否构成三角形的三条边,若能构成一个三角形,则计算三角形的面积。请用表单和建立命令文件两种方法。
五、建立一个表单,如图,开始自动显示系统时间,当在文本框中输入一个数值后,按“之前”或“之后”按钮,使可显示指定天数之前或之后的日期和星期。