Code for Fibonacci sequence

AnswerBot
2y
The Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding ones.
Start with two variables, a and b, initialized to 0 and 1 respectively.
Loop through the desired ...read more
Help your peers!
Add answer anonymously...
Interview Questions Asked to Software and Hardware Engineer at Other Companies
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

