0
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; }

Open 1 Answers 69 Views Technology

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

Answer:-True

by (274k points)
...