- C Program to print table of n and square of n using pow()
- C Program to find Factorial of Number without using function
- C Program to Calculate Area of Circle using Pointer
- C Program to Calculate area of different Geometric Shapes
- C Program to Calculate Area of Square
- C Program to Calculate Area of Rectangle
- C Program to Calculate Area of Circle
- C Program to Calculate Area of Right angle Triangle
- C Program to Calculate Area of Equilatral Triangle
- C Program to Calculate Area of Scalene Triangle
- Find Factorial of Number Using Recursion
- C Program to Solve Second Order Quadratic Equation
- C Program to find sum of two numbers
**C Program to Calculate Area and Circumference of circle**- C Program to find the simple interest
- C Program to Convert temperature from degree centigrade to Fahrenheit
- C Program to calculate sum of 5 subjects and find percentage
- C Program to reverse a given number !
- C Program to calculate gross salary of a person.
- C Program to find greatest in 3 numbers
- C program to reads customer number and power consumed and prints amount to be paid
- C program to read the values of x, y and z and print the results expressions in one line.
- C Program to find exponent Power Series !!
- C Program to Compute sum of the array elements using pointers !
- C Program to check the type of triangle

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #include<stdio.h> int main() { int rad; float PI = 3.14, area, ci; printf("\nEnter radius of circle: "); scanf("%d", &rad); area = PI * rad * rad; printf("\nArea of circle : %f ", area); ci = 2 * PI * rad; printf("\nCircumference : %f ", ci); return (0);} |

1 2 3 | Enter radius of a circle : 1Area of circle : 3.14Circumference : 6.28 |

In this program we have to calculate the area and circumference of the circle. We have following 2 formulas for finding circumference and area of circle.

1 | Area of Circle = PI * R * R |

and

1 | Circumference of Circle = 2 * PI * R |

In the above program we have declared the floating point variable PI whose value is defaulted to 3.14.We are accepting the radius from user.

1 2 | printf("\nEnter radius of circle: ");scanf("%d", &rad); |

- C Program to print table of n and square of n using pow()
- C Program to find Factorial of Number without using function
- C Program to Calculate Area of Circle using Pointer
- C Program to Calculate area of different Geometric Shapes
- C Program to Calculate Area of Square
- C Program to Calculate Area of Rectangle
- C Program to Calculate Area of Circle
- C Program to Calculate Area of Right angle Triangle
- C Program to Calculate Area of Equilatral Triangle
- C Program to Calculate Area of Scalene Triangle
- Find Factorial of Number Using Recursion
- C Program to Solve Second Order Quadratic Equation
- C Program to find sum of two numbers
**C Program to Calculate Area and Circumference of circle**- C Program to find the simple interest
- C Program to Convert temperature from degree centigrade to Fahrenheit
- C Program to calculate sum of 5 subjects and find percentage
- C Program to reverse a given number !
- C Program to calculate gross salary of a person.
- C Program to find greatest in 3 numbers
- C program to reads customer number and power consumed and prints amount to be paid
- C program to read the values of x, y and z and print the results expressions in one line.
- C Program to find exponent Power Series !!
- C Program to Compute sum of the array elements using pointers !
- C Program to check the type of triangle

(adsbygoogle = window.adsbygoogle || []).push({});

## C Program to find area and circumference of circle

## Output :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #include<stdio.h>
printf("\nEnter radius of circle: "); scanf("%d", &rad); area = PI * rad * rad; printf("\nArea of circle : %f ", area); ci = 2 * PI * rad; printf("\nCircumference : %f ", ci); return (0);} |

1 2 3 | Enter radius of a circle : 1Area of circle : 3.14Circumference : 6.28 |

In this program we have to calculate the area and circumference of the circle. We have following 2 formulas for finding circumference and area of circle.

1 | Area of Circle = PI * R * R |

and

1 | Circumference of Circle = 2 * PI * R |

In the above program we have declared the floating point variable PI whose value is defaulted to 3.14.We are accepting the radius from user.

1 2 | printf("\nEnter radius of circle: ");scanf("%d", &rad); |