text: Area of a leaf inside a square | C program to find the area of leaf inside a square ; Function to find area of leaf ; Driver code
code: #include <stdio.h> NEW_LINE #define PI  3.14159265 NEW_LINE float area_leaf ( float a ) { return ( a * a * ( PI / 2 - 1 ) ) ; } int main ( ) { float a = 7 ; printf ( " % f " , area_leaf ( a ) ) ; return 0 ; }