Computer Science, asked by abel99, 7 months ago

write a menu driven prgram to calculate : Area of a circle p*r*r where p = 22/7 using string​

Answers

Answered by harsh5599
0

Hii there !!

In python 3 the above program can be represented as :-

# square root finding program in python 3

print("area of circle finder !\n")

R = eval(input("Please enter the radius of the circle : "))

PI = 22 / 7

print(f"\n Entered radius = {R}")

print(f"\nArea of cicrle = {PI * R ** R}")

Similar questions