Capgemini interview question

Write a optimised code for Area of Circle