Capgemini interview question

Write a program for area of circle.