Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,155 members, 7,818,495 topics. Date: Sunday, 05 May 2024 at 05:20 PM

How To Use Qbasic To Calculate Area Of A Circle - Science/Technology - Nairaland

Nairaland Forum / Science/Technology / How To Use Qbasic To Calculate Area Of A Circle (3218 Views)

How To Calculate The Cloud Server Cost In Patna ? / Common Snake In Eti-Osa Area Of Lagos: Is It Venomous Or Poisonous? / How To Use Google Scientific Calculator Or Calculate With Google Search (2) (3) (4)

(1) (Reply)

How To Use Qbasic To Calculate Area Of A Circle by Auxiliarytech(m): 10:34pm On Oct 17, 2018
I have been into Qbasic for a long time.. And Am here to help the beginners How to calculate the area of a circle Using Qbasic... So follow the step below and do it yourself.....
CLS
COLOR 4
DIM pie AS SINGLE
DIM radius AS INTEGER
LET pie = 3.1423
INPUT "enter radius of a circle"; r
a = pie * r ^ 2
c = 2 * pie * r
PRINT "the area of a circle is"; a
PRINT "the circumference of the circle is"; c

when you are done with the coding Run the program Using F5 Or Ctrl F5... To see your out put...
To learn more.. visit www.auxiliarytech..com

(1) (Reply)

What Causes Electric Shocks From Non Electrical Objects In Harmattan? / Secure Windows 8: Secure Boot, Factory Reset And Refresh / Snakes With Two Head Can You Believe It

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.