Circumference :-Circumference of circle is the distance around the circle.
Calculate The Circumference of Circle By Given Formula
Circumference = 2*π*r
Here Pi (π) is a Greek Letter and r is a Radius (1/2 Of Diameter )
Pi (π) = 3.141592653589793 Approx. It Is A Constant Value
Area =π *r*r
Answer :-
#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);
}
Output:-
0 Comments
మీకు edit చేసి ఫొటోస్, వీడియోస్, ఇంకా దెని గురించి అన్నా ఇన్ఫర్మేషన్ కావాలీ అంటే Plz comment చేయండి