A voir également:
- Algorithme
- Logiciel algorithme euromillion - Télécharger - Loisirs créatifs
- Algorithme application pc - Télécharger - Édition & Programmation
- Algorithme euromillion excel gratuit - Forum Algorithmes / Méthodes
- Algorithme ajout rapide snapchat - Forum Snapchat
- Ajout rapide snap - Forum Snapchat
1 réponse
Bonsoir bila,
Quelque chose comme cela :
Quelque chose comme cela :
Variables: Nombre, i, ENTIER;
sEntier, sEntierOut, CHAINE;
FONCTION MAIN()
Entrée: Lire Nombre;
sEntier=CHAINE(Nombre);
AFFICHE("Le Nombre à l'envers est : " + RetourneChaine(sEntier));
FIN FONCTION
FONCTION CHAINE RetourneChaine(CHAINE sEntier)
SI(sEntier=="") ALORS
RETOURNE = "";
FIN SI
sEntierOut="";
POUR (i=(LONGUEUR(sEntier)-1) ; i<=0 ; i--)
sEntierOut=sEntierOut + sEntier(i);
FIN POUR
RETOURNE sEntier;
FIN FONCTION