Hexaware Technologies Interview Question

Write the code of fibonacci series?