判断题
下列IF语句中,ENDIF 表示相应IF的结束:
y=0
if x<0
then Y=5
else if x<10
then y=10
if x<100
then y=100
endif
else y=200
endif
endif
试指出:
当X=80 时,运行的结果是______;
当X=5 时,运行结果为_________。
A.
Y=9
B.
Y=5
发表评论 取消回复