Computer Science, asked by anandhukrishnan9895, 1 month ago

Write a program to find area and perimeter of a circle.​

Answers

Answered by sachinkumarbaliyan19
1

Answer:

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);

Similar questions