HCLTech Interview Question

Write the program for a fibonacci series