Probleme de resolution d'un algorithme
Fermé
unixlunik
Messages postés
32
Date d'inscription
mercredi 24 décembre 2008
Statut
Membre
Dernière intervention
20 mai 2016
-
6 mars 2009 à 05:32
BloodyAngel Messages postés 1479 Date d'inscription mardi 21 juin 2005 Statut Contributeur Dernière intervention 21 juin 2018 - 6 mars 2009 à 05:45
BloodyAngel Messages postés 1479 Date d'inscription mardi 21 juin 2005 Statut Contributeur Dernière intervention 21 juin 2018 - 6 mars 2009 à 05:45
A voir également:
- Probleme de resolution d'un algorithme
- Résolution native ✓ - Forum Vidéo/TV
- Ecrire un algorithme qui permet de resoudre ax²+bx+c=0 - Forum Algorithmes / Méthodes
- Erreur temporaire de résolution de « deb.debian.org » ✓ - Forum Debian
- Ppcm algorithme - Forum Programmation
- Forcer résolution 1920x1080 - Forum Windows 10
1 réponse
BloodyAngel
Messages postés
1479
Date d'inscription
mardi 21 juin 2005
Statut
Contributeur
Dernière intervention
21 juin 2018
401
6 mars 2009 à 05:45
6 mars 2009 à 05:45
Je me souviens plus exactement de comment on écrit l'algo mais ça donnerait +/- ceci :
Soit A = nombre 1
B = nombre 2
i = entier
i=1
TANT QUE i<B
A = A + A
i = i + 1
FIN TANT QUE
Voilà
Soit A = nombre 1
B = nombre 2
i = entier
i=1
TANT QUE i<B
A = A + A
i = i + 1
FIN TANT QUE
Voilà