Valeo interview question

To write a program for a mathematical operation