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
I'm M.Bakhtiar Zuberi, the owner of 3DPixelz.com and its network websites. I've been web-developing & graphics-designing for the past 7 years, since the age of 11. I like to work with PHP/HTML and Photoshop/Illustrator. Part-time developer of ZCL and ETC cryptocurrencies. I love to blog here and write for Tribune in my free time.

Leave a Comment

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