WAP to Calculate the Area of a Circle

Question:
Write a program that calculates the area of a circle. The formula for the area of a circle is pi times the radius squared.

Ans:

      CLS

      CONST PI=3.141592654

      LET R = 8

      Area = PI*(R^2)

      PRINT “The area is :::” ; Area

      END

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top