ABSTRACT

The Hello, world! program of §1 served to illustrate the typographical layout of Fortran source code, but it did no useful work. Here is a slightly more exciting example that computes a numerical result using the Pythagorean theorem.