THE COMPUTER LOVERS

#1 In Tutorials, News, Videos And Hot Updates On >>> HTML || JAVA || C,C++,C# || WEB DESIGN || PROGRAMMING || SCRIPTING || TUTORIALS

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#

Post a Comment

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget