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. REM statement is a non-executable statement and stands for remarks. CLS statement is used to clear the screen. END statement is used to end the program execution.