Que fait cette fonction recursive

Fermé
asma300 - 26 mai 2008 à 19:10
Castor Messages postés 17858 Date d'inscription mardi 3 juillet 2001 Statut Modérateur Dernière intervention 7 novembre 2023 - 26 mai 2008 à 19:12
function inconnue (st:chaine ):chaine
si st=" " alors inconnue <-- " "
sinon inconnue <-- st[long(st)]+fn inconnue(sous_chaine(st,1,long(st)-1))
fin si
fin inconnue
A voir également:

1 réponse

Castor Messages postés 17858 Date d'inscription mardi 3 juillet 2001 Statut Modérateur Dernière intervention 7 novembre 2023 169
26 mai 2008 à 19:12
C'est à rendre pour quand?
0