C Programming
Computer Programming

Program in c to find the area of circle



Write a Program in c to find the area of circle

\* C Program to to find the area of circle *\

# include < stdio.h >
int   main( )
{

int   r  ;
float   area  ;
printf(" Enter the radious of circle : ") ;
scanf("%d ", & r) ;
area = 3.14 * r * r  ;
printf("\n Area of circle : ") ;
printf(" %f ",  area) ;
return ( 0 ) ;

}

Output of Program:

Output of Program in C to find the area of circle