Computer Science, asked by jkumari97975, 8 months ago

write a program to display the circumference of a circle ​

Answers

Answered by pubgqueen
2

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