for loop in fortran code example Example: do loop fortran do var = start, stop [,step] ! statement(s) … end do