Here we see how to iterate over elements in built-in data structures using DO loops and co-arrays. Let’s see how it works with some of the structures we’ve already learned.
To run the program, save the code in a file and execute it using Fortran:
Now that we can run and build basic Fortran programs, let’s learn more about the language.