Computer Science, asked by myliferadhi, 27 days ago

WRITE A PYTHON PROGRAM TO OBTAIN DIAMETER OF A CIRCLE AND CALCULATE ITS AREA AND CIRCUMFRENCE.​

Answers

Answered by s1361006077
1

Answer:

1.Diameter of a Circle = 2r = 2 * radius

2.Area of a circle is: A = πr² =  π * radius * radius

3.Circumference of a Circle = 2πr = 2 * π * radius

Answered by happeninghomo
0

Answer:

d = float(input("Enter diameter:"))

r = d/2

area = 3.14*r*r

circumference = 3.14*d

print(area)

print(circumference)

Similar questions