[Fortran] Boucle for
Résolu
soulaine240281
-
Sacabouffe Messages postés 9427 Date d'inscription Statut Membre Dernière intervention -
Sacabouffe Messages postés 9427 Date d'inscription Statut Membre Dernière intervention -
Bonjour,je voudrais un simple exp de la boucle for en fortran. merci
A voir également:
- [Fortran] Boucle for
- Downloader for pc - Télécharger - Téléchargement & Transfert
- Idm for mac - Télécharger - Téléchargement & Transfert
- Copytrans heic for windows - Télécharger - Visionnage & Diaporama
- Instagram for pc - Télécharger - Divers Communication
- Microsoft store download for pc - Guide
3 réponses
Salut
A plus
PROGRAM FACTORIELLE IMPLICIT NONE INTEGER :: FACT,M,N WRITE(*,*) 'Entrez un entier : ' READ(*,*) N FACT=1 DO M=1,N FACT=FACT*M END DO WRITE(*,*) 'La factorielle de ', N, ' est : ', FACT END PROGRAM FACTORIELLE
A plus