Dassault Systèmes Interview Question

To print Fibonacci series.