mirror of
https://github.com/VictorEijkhout/TheArtOfHPC_vol3_cppf08programming.git
synced 2026-01-24 22:44:48 +09:00
20 lines
457 B
Fortran
20 lines
457 B
Fortran
!****************************************************************
|
|
!***
|
|
!*** This file belongs with the course
|
|
!*** Introduction to Scientific Programming in C++/Fortran2003
|
|
!*** copyright 2017 Victor Eijkhout eijkhout@tacc.utexas.edu
|
|
!***
|
|
!*** loopinf.F90 : infinite loop
|
|
!***
|
|
!****************************************************************
|
|
|
|
program loopinf
|
|
implicit none
|
|
integer :: i,j
|
|
|
|
do i=1,-1,2
|
|
print *,i
|
|
end do
|
|
|
|
end program loopinf
|