
The print command in QBasic is used to display the output on the screen. We can print the string if we enclose the string in double quotes. Similarly, we can print the numbers or values that are stored in the variable without the use of double quotes.
For example,
PRINT "Shonak Pal"
PRINT age
In the first example, we had to use the double quotes from printing the strings, and in the second example, we dont need to use the double quotes as we are printing a variable.
Comments
Join the discussionNo comments yet. Be the first to comment.
Introduction to Qbasic
In this series I will try to explain all the topics in a simpler format, which could be understandable for the students.



