We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Algorithme factoriel Variable n: entier Fonction fact(n: entier): entier Début si (n <= 1) alors retourner 1 sinon retourner n*fact(n - 1) finsi Fin
Début écrire('Entrez un nombre: ') lire(n) écrire(n, '! = ', fact(n)) Fin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Algorithme factoriel
Variable
n: entier
Fonction fact(n: entier): entier
Début
si (n <= 1) alors
retourner 1
sinon
retourner n*fact(n - 1)
finsi
Fin
Début
écrire('Entrez un nombre: ')
lire(n)
écrire(n, '! = ', fact(n))
Fin
The text was updated successfully, but these errors were encountered: