Write a python program to calculate area of a circle.

 Area of the circle:-

                                     A=3.14*r*r;
        where r is the radius of the circle     
Program:-

r=float(input(“radius=”))
area=3.14*r*r
print(“Area of the circle=”,area)

Output:-

radius=5
Area of the circle =78.5


Leave a Reply

Your email address will not be published.