Fibonacci sequence: Difference between revisions

Content deleted Content added
Added MAXScript
Forth
Line 33: Line 33:
END IF
END IF
END FUNCTION</qbasic>
END FUNCTION</qbasic>

=={{header|Forth}==
: fib ( n -- fib )
0 1 rot 0 do over + swap loop drop ;


=={{header|Java}}==
=={{header|Java}}==