Computer Science, asked by abhishek31125, 6 months ago

Simple Intereste
(Principal*Rate*Time)
100
Note that:
Area of a circle= ir
Circumference of a circle = 2 ar
wherer is the radius of the circle and Te is 3.142.
ively and int
12. Write a program using variables to find the area and circumference of a circle whose radius is 12cm.​

Answers

Answered by jai696
5

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

12. Write a program using variables to find the area and circumference of a circle whose radius is 12cm.

from math import pi

def find_area(r):

return pi * (r * r)

r = float(input("enter radius: "))

print(f"area of circle is: {find_area(r):.2f}")

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions