The following two lines is used to be print on the Qbasic Software. To do that we need to write Qbasic Syntax to print or display lines.
Lines:-
"Welcome to Hello World of QBASIC!"
"QBASIC is user friendly Programming Language!"
The following Code is used to display above lines.
CLS
PRINT "Welcome to Hello World of QBASIC!"
PRINT "QBASIC is user friendly Programming Language!"
END
In the above code,
- CLS statement is used to clear the screen.
- Print statement is used to print the information.
- End statement is used to end the program.
To run this program, Go to Run Tab menu, click to start
After running the program, following window is display.
No comments:
Post a Comment