# C Program to Calculate Area and Circumference of Circle

## Calculate Area and Circumference of Circle in C

To calculate area and circumference of any circle in C programming, you have to ask to the user to enter the radius of circle say r and make two variable for area and circumference each, place 3.14*r*r in area and 2*3.14*r in circumference, then display the result

## C Programming Code to Calculate Area and Circumference of Circle

Following C program ask the user to enter the radius of the circle, to calculate and display the area and perimeter of the circle:

```/* C Program - Calculate Area and Circumference of Circle */

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float r, area, circum;
printf("Enter the radius of the circle :");
scanf("%f",&r);
area=3.14*r*r;
circum=2*3.14*r;
printf("Area of the circle = %f\nCircumference of the circle = %f\n",area,circum);
getch();
}```

When the above c program is compile and executed, it will produce the following result:

### Same Program in Other Programming Language

You may also like same program in other programming languages:

Tools
Calculator