What are the different types of statements used in FORTRAN?
What are the different types of statements used in FORTRAN?
- FORTRAN is known as Formula Translator and contains 32 statements that include the following statements:
- Assignment statements: are the statements used to assign the values and perform arithmetic operations.
- It is having the operators that checks for exceptions like Accumulator overflow, Divide by zero, etc.
- Formatted Input/Output statements: This allows the use READ/WRITE TAPE and produces the output according to the input given.
- Unformatted Input/Output statements: This also includes the use of READ/WRITE TAPE, WRITE DRUM, etc.
- Frequency statements: This provides the optimization techniques and support to the compiler.