Virtusa interview question

Write a Code for Fibonacci series