fortran while code example
Example 1: fortran do while
do while (logical expr)
statements
end do
Example 2: fortran while
do while(conditional)
! Do something
enddo
do while (logical expr)
statements
end do
do while(conditional)
! Do something
enddo