Math, asked by akashsohara, 10 months ago

area = πr2 +2 π rh write evaluate in c​

Answers

Answered by Rithika1904
2

Answer:

Step-by-step 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