Program to find area of a circle (GW-BASIC)

Program to find area of a circle

-Program:

10 REM Program to find the area of circle in GW-BASIC
20 INPUT “Enter radius of circle: ” ; R
30 LET PI = 22/7
40 A = PI*R*R
50 PRINT “Area of circle is: ” ; A
60 END

-Algorithm:

STEP 1     START
STEP 2     INPUT R
STEP 3     COMPUTE PI = 22/7
STEP 4     COMPUTE A = PI*R*R
STEP 5     PRINT A
STEP 6     END

Using the GW-BASIC emulator, I’ve created the following program:

Average & sum of three numbers

Area of a circle using GW-BASIC Emulator


“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

M.Bakhtiar Zuberi
Hello, I'm M.Bakhtiar Zuberi, the only article poster & owner of this website. Your comments/suggestions are welcomed the most! RajasTutorials.com is a part of 3DPixelz.com network.

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: