Dassault Systèmes interview question

To print Fibonacci series.