Logo

Programming-Idioms

History of Idiom 256 > diff from v10 to v11

Edit summary for version 11 by tkoenig:
New Fortran implementation by user [tkoenig]

Version 10

2021-03-18, 19:00:03

Version 11

2021-03-22, 07:04:08

Idiom #256 Count backwards

Print the numbers 5, 4, ..., 0 (included), one line per number.

Idiom #256 Count backwards

Print the numbers 5, 4, ..., 0 (included), one line per number.

Extra Keywords
countdown negative step reverse
Extra Keywords
countdown negative step reverse
Code
do i=5,0,-1
  print *,i
end do