Computer Science, asked by sahooaspin, 10 months ago

Write a progarm to input theradius of a circle
and find the Circumference and the area​

Answers

Answered by DeepinderBawa
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);

Answered by juspenikke
0

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

Explanation:

Similar questions