Programming-Idioms

History of Idiom 2 > diff from v108 to v109

Edit summary for version 109 :
[Fortran] dsfsdf

Version 108

2020-01-06, 12:11:05

Version 109

2020-04-01, 15:34:30

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Code
program main
  implicit none
  integer :: i
  do i=1,10
    write (*,'(A)') "Hello"
  end do
end program main
Code
program main
  implicit none
  integer :: i
  do i=1,10
    write (*,'(A)') "Hello world"
  end do
end program main