#### Area and Circumference of Circle

Area and Circumference of a Circle coderinme

To find the area and circumference of a circle with the given radius we use the following formulas:

Area of circle = PI * radius * radius

Circumference of circle = 2 * PI * radius

The distance around a circle is called the circumference. The distance across a circle through the center is called the diameter. Pi is the ratio of the circumference of a circle to the diameter.

Now let’s code it in C

```
#include<stdio.h>
#define PI 3.14
int main()
{
float circumference, area, radius;
printf ("Enter the Radius of the circle: ");
scanf ("%f",&radius);
circumference = 2 * PI * radius;
area = PI * radius * radius;
printf ("Circumference of the circle = %.2f\n",circumference);
printf ("Area of the circle = %.2f",area);
getch();
return 0;
}
```

For more programs in C, visit our C Coder Archives

All rights reserved. No part of this Post may be copied, distributed, or transmitted in any form or by any means, without the prior written permission of the website admin, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. For permission requests, write to the owner, addressed “Attention: Permissions Coordinator,” to the admin @coderinme