C Program to find the area and circumference of circle
Answer:
Answer:
- #include<stdio.h>
- int main()
- {
- float r,a,c;
- printf("Enter radius");
- scanf("%f",&r);
- a=3.14*r*r;
- c=2*3.14*r;
- printf("Area is %0.2f and Circumference is %0.3f",a,c);
- return 0;
- }