Skip to main content

QBASIC Programming Tutorial – 4 – Variables




Learn how to begin program using BASIC programming language for Beginners...
For more information.. Drop your comments.....
GET THE SOURCE CODE BELOW


 5 REM PROGRAM TO PRINT VARIABLES TYPES
10 NUM1% = 3276755555
20 NUM2& = 764634263
30 NUM3! = 3.889999998
40 NUM4# = 4.9787878
50 HELLO$ = "HELLO WORLD 2"
60 PRINT "THIS IS FOR STRING VARIABLE", HELLO$
70 PRINT "THIS IS FOR SHORT INTEGER VARIABLE", NUM1%
80 PRINT "THIS IS FOR LONG INTEGER VARIABLE", NUM2&
90 PRINT "THIS IS FOR SINGLE PRECISION VARIABLE", NUM3!
100 PRINT "THIS IS FOR DOUBLE PRECISION VARIABLE", NUM4#

Comments

Popular posts from this blog

Create a nigerian news blog -4- Homepage Customization Finalized

9 THINGS THAT A CHURCH WEBSITE SHOULD HAVE

THINGS THAT A CHURCH WEBSITE SHOULD HAVE There so many church website round the internet so am not going to tell you where to find a church website for any church but in this article am going to explain the basic things a church website should have which are outline below: A DESIGN THAT REFLECTS “PEOPLE”, NOT BUILDINGS. People are searching for others whom they can relate to in order to establish a relationship. Buildings represent “institution”, not one on one fellowship. ANNOUNCEMENTS AND CALENDAR OF EVENTS. The page that gets the most visits on any church site is the events page. Surveys on many church websites have revealed as high as 60% of visitors are looking for information about what, where, and when. A website can be a cost saving advertisement medium.