Algorithme lvl1

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

TheHardButcher

Programmeur C/C++
V
Dec 14, 2009
1,461
58
964
France
Nom Défis : Algorithme lvl1
Auteur : TheHardButcher
Points :
- Objectif 1 : 2 pts
Fichier joints :
Aucun
Objectif 1 :
Créer une fonction aillant pour entrer une chaine de caractère et pour sortie :
1. La chaine de sens inversé (AZE->EZA)
2. La chaine passez dans un réflecteur (A->Z, B->Y, etc)
3. La chaine coupé en deux si c’est un palindrome
Exemple :
Entrée :
HELLO
Sortie :
OLLEH
SVOOL
Entrée :
BOOB
Sortie :
BOOB
YLLY
YL-LY
Entrée :
BONOB
Sortie :
BONOB
YLMLY
YL-LY