PAUSE And END statements

PAUSE Statement
The general form of a PAUSE statement is:
PAUSE [n]
where n is a string which should not be more than five digits or it may be character constant.
END Statement
Every program must have an END statement which must be written at the end of the program.
The general form of an END statement is:
END
An END statement is written only in columns 7 through 72 of an initial line. An END statement must not be continued. The last line of every program unit must be an END statement. The END statement indicates the end of the sequence of statements.
Program:
Output:
Example:
Note: This example contains Input as READ, IF, ELSE IF, ELSE, GO TO, PRINT, STOP and END Statements.
Program:
Output:
More example is given to make clear understanding about control statement.
Program:
Output:
Scroll to Top