Capgemini Interview Question

Write a optimised code for Area of Circle