AD4BP
Write program for find the area of circle.
#include< stdio.h >
#include< conio.h >
void main( )
{
float r,a;
clrscr( );
printf("Enter radious of circle: ");
scanf("%f",&r);
a=3.14*r*r;
printf("Area of circle: %2.2f",a);
getch( );
}
Output:-
Enter radious of circle:
Area of circle:
Newer Post
Older Post
Home