The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we help you to solve your academic and programming questions fast.
In eduladder you can Ask
and Download Questions
and Question papers.Watch related videos of your favorite subject.
Connect with students from different parts of the world. Apply
Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions?
You are here:Open notes
Web programming laboratary manual 10csl78
1a) Input a n numbers using the input and output the Fibonacci series of that number.
1b) Input a n numbers using the input and output the series of that number with the squire root of that number.
var x=prompt("Enter the numbers has to be generated");
var fib = ; //Initialize array!
fib = 0;
fib = 1;
for(i=2; i<=n; i++)
// Next fibonacci number = previous + one before previous
fib[i] = fib[i-2] + fib[i-1];
var x=prompt("Enter the numbers to be generated");