Topic Content:
- Key Basic Statements
1. REM Statement:
The REM Statement is used in making comments or remarks. This kind of comment or remark is meant only for the consumption of the users. So, they are ignored by the computer during execution. REM Statements take this form: <line number>REM<comment>. For example,
10 REM THIS PROGRAM CALCULATES ALL THE VAT FOR ALL THE TRANSACTIONS
15 REM AMOUNT READ IN
2. INPUT Statement:
The INPUT statement is a means for data statements. It includes READ-DATA Statements. It enables us to input data into a program through the computer keyboard.
INPUT statement takes this form: <line number>INPUT<variable list>. The list of variables is separated with a comma.
For example,
10 INPUT A, B, C
3. READ-DATA Statements:
You are viewing an excerpt of this Topic. Subscribe Now to get Full Access to ALL this Subject's Topics and Quizzes for this Term!
Click on the button "Subscribe Now" below for Full Access!
Subscribe Now
Note: If you have Already Subscribed and you are seeing this message, it means you are logged out. Please Log In using the Login Button Below to Carry on Studying!
Responses