Computer Science, asked by tanmay2192006, 1 month ago

WAP to find the circumference of the circle [C=2*3.14*r]. Note take radius from the user as input.​

Answers

Answered by shubhamugale2005
1

Start

2 Read the value of radius r of Circle

3. Give Pi = 3.14

4 Calculate area of Circle = Pi x r x r

5. Calculate Circumference of circle

( You can use either C= 2 X Pi X r Or Area (A) = Pi X r X r Circumference (C) = 2 X Pi X r A/r = Pi X r A/r = C/2 So C = 2 x ( A/r ) 5. Print area and Circumference

6. End.

Answered by hudaattar123
0

Answer:

C Program to calculate Area and Circumference of Circle

Here we are writing a simple C program that calculates the area and circumference of circle based on the radius value provided by user.

Formula:

Area = 3.14 * radius * radius

Circumference = 2 * 3.14 * radius

Similar questions