Voici mon problème j'ai un exercice a faire qui ne parait pas très compliqué (enfin je pense mais le problème c'est qu'il est en anglais :S)
pouvez vous m'aidez ?? svp..
voici l'énoncé:
to celebrate the 20th anniversary of mathématiques sans frontières , Gérard has made up an algorithm or rule to get from 1989 to 2009 in stages : (bon sa j'ai compris mais la suite ... :/)
n=1989 --> choose one of the digits of N and add to it one of the 3 others (je pense que sa e dire choisie un nombre et ajoute leu a l'un des 3 autres).
--> S yes --> replace the digit chosen by S to get the new value of N
---> s no--> replace the digit chosen by S - 10 to get the new value of N
n=2009 (on doit trouvé 2009 )
merci d'avance
