How can I simply generate a random integer number between specific intervals?
I want to simply generate a random number for instance between 1 and 10 with Fortran. But I cannot achieve this. For example, When I wrote a do loop for a variable which desired to be random, It wasn't be generated as random for every loop.
Aucun commentaire:
Enregistrer un commentaire