Infosys interview question

Write a program to print Fibonacci series.