Capgemini Engineering Interview Question

write the program for Fibonacci series.