RosettaCodeData/Task/Loops-Continue/Fortran/loops-continue-1.f

9 lines
163 B
FortranFixed
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
do i = 1, 10
write(*, '(I0)', advance='no') i
if ( mod(i, 5) == 0 ) then
write(*,*)
cycle
end if
write(*, '(A)', advance='no') ', '
end do