Cognizant Interview Question

Q: Write a program for Fibonacci series.