# Display 1, 1, 2, 3, 5, 8 . . . . . . up-to ten terms.( sub)

DECLARE SUB SERIES( )
CLS 
CALL SERIES
END

SUB SERIES( )
A=1
B=1
FOR I =1 To 5
PRINT A
A=A+B
B=A+B
NEXT I 
END S

Comments

Popular posts from this blog