PwC interview question

Program to generate Fibonacci series