Code for PROGRAM TO FIND AREA & CIRCUMFERENCE OF A CIRCLE in C Programming
#include <stdio.h>
#include <conio.h>
#define PI 3.14
void main()
{
float circum,r,area;
printf("enter the value of radius : ");
scanf("%f",&r);
area = PI * r * r;
circum = 2 * PI * r;
printf("area of given circle : %f\n ",area);
printf("circumference of given circle is :%f",circum);
getch();
}