Introduction to Commands in Q basic



1
.Introduction to INPUT command in Q basic

                       

  • Used when the values of the variables are not known at the time of writing the program.

  • Assign values to the variable through the keyboard at the time of execution.
                             
2.Introduction to CLS command

  • Is used to clear the output of the previous screen.

3.Introduction to PRINT command

  • Is used to display results and messages.

  • eg. PRINT" Introduction to Commands in Q basic"


4
.Introduction to LET command

  • Is used to store data data in computer's memory.

  • eg. LET C=1

  • C is the variable in which the data is stored.

5.Introduction to GOTO command

  • Allows to jump from present line to any other line.



Comments

Post a Comment

Popular posts from this blog

A program to accept any number and display its multiplication table

Q BASIC program to display the sum of first 5 odd numbers