Area of a leaf inside a square | Javascript program to find the area of leaf inside a square ; Function to find area of leaf ; Driver code
const PI = 3.14159265 ; function area_leaf ( a ) { return ( a * a * ( PI / 2 - 1 ) ) ; } let a = 7 ; document . write ( Math . round ( area_leaf ( a ) ) ) ;