KodeGod.com

006. Write a program to print area of a circle. A(circle)= 3.142 * R * R in C language


#include<stdio.h>
#include<conio.h>  
main()
{
 float AREA,R;
 clrscr();
 printf("Enter Radius: ");
 scanf("%f",&R);
 AREA=3.14*R*R;
 printf("Area of the given is : %6.2f",AREA);
 getch();
}