A statement is a computer instruction written in a source language, such as QBASIC, which is converted into one or more machine code instructions by a compiler. The commonly used QBASIC statements are LET, PRINT, INPUT, CLS, END and REM.
In QBASIC, the LET statement is used to assign a value to a variable. The PRINT command is used to display any message or value on the screen. The INPUT statement in QBASIC is used to accept the data item from the user. CLS statement tells the interpreter to clear the output screen. It makes the screen completely blank. END statement is used to indicate to the interpreter that the program has ended.