这段Vf语言哪里出错了?·set talk off·clear·s=0·for n=1to100·s=s+n*n·if s>5500·exit·end if·end forn·set talk on·return

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 11:18:27

这段Vf语言哪里出错了?·set talk off·clear·s=0·for n=1to100·s=s+n*n·if s>5500·exit·end if·end forn·set talk on·return
这段Vf语言哪里出错了?
·set talk off
·clear
·s=0
·for n=1to100
·s=s+n*n
·if s>5500
·exit
·end if
·end for
n
·set talk on
·return

这段Vf语言哪里出错了?·set talk off·clear·s=0·for n=1to100·s=s+n*n·if s>5500·exit·end if·end forn·set talk on·return
CLEAR
s=0
FOR n = 1 TO 100
s=s+n*n
IF s>5500
EXIT
ENDIF
ENDFOR
? n