Computer Science, asked by debkotatoyanatha, 13 days ago

write program to compute the area and circumference of a circle​

Answers

Answered by jainakshat2
1

Answer:

In which coding languages you want I know in Java script

[Function]();

ellipse(100,200,40)

console.log(ellipse)

Display();

Answered by harish200857
1

Answer:

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

}

Output :

1

2

3

Enter radius of a circle : 1

Area of circle : 3.14

Circumference  : 6.28

Reference link :

http://www.c4learn.com/c-programs/c-program-to-find-area-and-circumference-of-circle.html

"Don't forget to check the link for correct explanation with answer"

Similar questions