



This section presents some of the basic ideas of Fortran by showing some complete
examples. In the interests of simplicity, the problems which these solve are hardly
beyond the range of a good pocket calculator, and the programs shown here do not
include various refinements that would usually be present in professional software.
They are, however, complete working programs which you can try out for yourself if
you have access to a Fortran system. If not, it is still worth reading through them to
see how the basic elements of Fortran can be put together into complete
programs.
2.1 Statements
2.2 Expressions and Assignments
2.3 Integer and Real Data Types
2.4 DO Loops
2.5 Formatted Output
2.6 Functions
2.7 IF-blocks
2.8 Arrays



