Closed fire-eggs closed 4 years ago
Looking at your sample code:
WHILE nums > 0 REPEAT PRINT a LET c = a + b LET a = b LET b = c ENDWHILE
Are you missing a LET nums = nums - 1 statement? Otherwise it looks like the loop never ends.
LET nums = nums - 1
You're right, thanks! Fixed.
Looking at your sample code:
Are you missing a
LET nums = nums - 1
statement? Otherwise it looks like the loop never ends.