Program to find area and circumference of the circle:


Program to find area and circumference of a circle
CODING:
#include                      
#include
int main()
{
    float radius, area, circum;
    clrscr();
    printf("Enter radius: ");
    scanf("%f", &radius);
    area   = radius * radius * 22 / 7; /* pr² */
    circum = 2 * radius * 22 / 7;      /* 2pr */
    printf("Area = %f\nCircumference = %f\n", area, circum);
 getch();
     return 0;
}