Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PRINT "This program calculates the fibonaci sequence to N Places"
- INPUT "Count: ", N
- A = 0
- B = 1
- C = 1
- PRINT A
- IF N < 2 THEN END
- PRINT B
- IF N < 3 THEN END
- FOR I = 3 TO N
- PRINT C
- A = B
- B = C
- C = A + B
- NEXT
- END
Add Comment
Please, Sign In to add comment