Write a program to find the area and perimeter of a circle
Answers
Answered by
1
Answer:
A program to find the area and perimeter of a circle is follows:
- #include<stdio.h>
- int main() {
- float radius, area;
- printf("\nEnter the radius of Circle : ");
- scanf("%d", &radius);
- area = 3.14 * radius * radius;
- printf("\nArea of Circle : %f", area);
- return (0);
Answered by
1
Answer:
C Program
#include<stdio.h>
int main() {
float radius, area;
printf("\nEnter the radius of Circle : ");
scanf("%d", &radius);
area = 3.14 * radius * radius;
printf("\nArea of Circle : %f", area);
return (0);
Explanation:
hope it helps ☺️☺️
Similar questions