Capgemini Engineering interview question

write the program for Fibonacci series.