Resolution d'un probleme en algorithme

jamal -  
alicia_3107 Messages postés 4546 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour;
SVP je savoir comment afficher et calculer le factoriel d'un nombre entier par exemple N!
et merci de me repondre à l'e_mail ci-dessus.

1 réponse

alicia_3107 Messages postés 4546 Date d'inscription   Statut Membre Dernière intervention   6
 
ton email si dessus est vraiment pas là ... :))))))

Pour ton pb

----------------------------
FACTO = 1;
Pour i = 2 à N faire
FACTO = FACTO * i;
AFFICHER (FACTO);
----------------------------

</alicia_3107 http://alicia.heraz.free.fr > 
0