Fibonnaci - Online Code

Description

This code calculates the Fibonnaci sequence of given limit of numbers.

Source Code


<HEAD>



<SCRIPT LANGUAGE="JavaScript">



<!-- Begin

function f(n) {

var s = 0;

if(n == 0) return(s);

if(n == 1) {

s += 1;

return(s);

}

else {

return(f(n - 1) + f(n - 2
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.