Concept:In QBASIC, the
REM statement is used to add comments in a program.
Explanation:REM stands for "remark".
When QBASIC runs a program, it ignores any line that starts with
REM.
This allows the programmer to write notes or explanations inside the code without affecting the output.
For example:
REM This program prints a greetingPRINT "Hello, World!"Here, only the
PRINT statement is executed; the
REM line is completely ignored.
The other options do not serve this purpose.
PRINT is used to display output on the screen.
CLS is used to clear the screen.
INPUT is used to take data from the user.
So, the correct command for adding comments is
REM.
Answer:B.
REM