- What is the function of REM statement? Can you use REM statement in the same line with input statement? Why?
- The function of REM statement is to give the remarks in the program. It helps to provide the detail information about the program.
- No, we cannot use REM statement in the same line with INPUT statement because REM doesn't allow the INPUT statement to display in the output screen.
- For eg:
- REM INPUT "Enter your name:"n$
This statement cannot be displayed on the output screen.