C program to find area and perimeter of the circle.
Answers
Answered by
0
Answer:
Please check the attached image for your answer.
Hope it helps :)
Attachments:
Answered by
1
Answer:
#include<stdio.h>
int main() {
float r, Area, Perimeter;
printf(“Enter the radius of circle”);
scanf(“%f”,&r);
Area = 3.14*r*r;
Perimeter=2*3.14*r;
printf(“the area of the circle is %f\n”,Area);
printf(“the perimeter of the circle is %f\n”,Perimeter);
return 0;
Similar questions