Write a program to enter the radii of 34 circles. Calculate and print the following.
1. Diameter
2.Area
3. Circumference
No irrelevant answers
Vd table also
Answers
Answered by
7
Attachments:
Answered by
0
Explanation:
#include<stdio.h>
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