QBASIC Programs

 Write a QBASIC program to print Hello World:

Open QB64 latest version  and Write following code. Save the program by using (.BAS ) extension.

  CLS 
  PRINT "HELLO WORLD"
  END
 
>> output >> HELLO WORLD

Another way to print this program is by using variable.

  CLS
  STRI$="Hello friends how are you."
  PRINT STRI$
  END

>> output >> Hello friends how are you.

Comments

Post a Comment

Popular posts from this blog

About RAM

Class and object in c++