Fortraneries/BloubWorld/essai.f90
2022-02-18 19:30:10 +01:00

19 lines
315 B
Fortran

program essai
use mathstuff
implicit none
integer :: foo
real :: quux
double precision :: somme
call init_random_seed()
somme = 0.0
do foo=1, 5
quux = rand()
somme = somme + quux
print *, foo, quux, somme/foo
enddo
end program