1. INPUT – OUTPUT STATEMENTS
List directed input statement:
READ * , V1, V2, ......... VN
All the variables must be separated by commas (,).
List directed output statement:
PRINT *, V1, V2, ......... VN
All the variables must be separated by commas (,).
2. ENDING PROGRAMS STATEMENT
END Statement
The END statement is the last statement in all FORTRAN
77 programs. Its purpose is to inform the compiler
about the end of any source program. It should not
be labeled. It is non executable and not translated
into machine language. Its format is:
END
STOP Statement
The STOP statement instructs the computer to terminate
the execution of the object program. Its syntax is:
[1] STOP
Here, label is optional.
|