So, this is wrong: 10 LET X=1 20 LET I=0 30 FOR I=0 TO 3 40 X = X + (5*I) 50 NEXT I 60 PRINT X That yields 31. change 40 to 40 x=5*i and you get 15 Forget it. I’m too old for this shit.

So, this is wrong:
10 LET X=1
20 LET I=0
30 FOR I=0 TO 3
40 X = X + (5*I)
50 NEXT I
60 PRINT X

That yields 31.

change 40 to
40 x=5*i
and you get
15

Forget it. I’m too old for this shit.

—-

 

Leave a comment

Your email address will not be published. Required fields are marked *


× 5 = twenty

Leave a Reply