0 votes
48 views
in Technology by (228k points)

FIbonacci Series Program
function fibonacciSequence(input)
{
var a=0;b=1;c=0;
var array1=[0,1];
for(var i=2;i<=input;i++)
{
c=a+b;
a=b;
b=c;
array1.push(c)
}
return array1;
}
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->

a) True

b) False

Read Loans and Insurance questions

1 Answer

0 votes
by (228k points)

Answer:-True

Related questions

+1 vote
1 answer 155 views
0 votes
1 answer 35 views
0 votes
0 answers 64 views
...