使其能求出1+3+5+……+29之和.LET T=0 FOR I=1 TO 29 STEP _____ LET T=T+I NEXT I PRINT T END
问题描述:
使其能求出1+3+5+……+29之和.LET T=0 FOR I=1 TO 29 STEP _____ LET T=T+I NEXT I PRINT T END
答
LET T=0
FOR I=1 TO 29
STEP I=I+2
LET T=T+I
NEXT I
PRINT T
END
ISN'T IT?