Persistent Systems Interview Question

Code to print pattern of Fibonacci series.