1.

Write a program to input the radius of the circle using the parameter calculate and print the area of circle using the formula “area = pi*r2 where the value of pi is 3.14 and the circumference of the circle using the formula circumference = 2*pi*r where the value of pi is 3.14.​

Answer»

PYTHON Program to FIND Diameter CIRCUMFERENCE and Area Of a...

  • Diameter of a Circle = 2R = 2 * radius.
  • Area of a circle is: A = πr² = π * radius * radius.
  • Circumference of a Circle = 2πr = 2 * π * radius.



Discussion

No Comment Found