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
Post a Comment