Skip to main content

8.2) Exercise 5


Your task is to understand the program and write down the output that you expect to be printed to the screen.

       program example13
       integer :: i, j     ! use a comma to declare more variables.
       do i=1,3
          print *, i
          do j=1,3
             print *, i, j
          enddo
       enddo
       end program example13