Un algorithme célèbre !
clairebtrs
Messages postés
2
Statut
Membre
-
clairebtrs -
clairebtrs -
Bonjour j'ai besoin d'aide pour résoudre cet algorithme
Variables
A,B,R trois entiers positifs
Algorithme
Lire A
Lire B
i <-- 0
Tant que E(A/B) # A/B faire
R<-- A-E(A/B)*B
A<-- B
B<--R
FinTant
ecrireB
Consigne : appliquer à la main cet algorithme à A=391 et B=221
aidez-moii svp
Variables
A,B,R trois entiers positifs
Algorithme
Lire A
Lire B
i <-- 0
Tant que E(A/B) # A/B faire
R<-- A-E(A/B)*B
A<-- B
B<--R
FinTant
ecrireB
- E(x) signifie la partie entière de x.
Consigne : appliquer à la main cet algorithme à A=391 et B=221
aidez-moii svp
A voir également:
- Un algorithme célèbre !
- Algorithme euromillion excel gratuit - Télécharger - Loisirs créatifs
- Quatuor célèbre personnage - <a href="https://forums.commentcamarche.net/forum/jeux-en-ligne-259">Forum jeux en ligne</a>
- Algorithme ajout rapide snapchat - <a href="https://forums.commentcamarche.net/forum/snapchat-333">Forum Snapchat</a>
- Ajout rapide snap - <a href="https://forums.commentcamarche.net/forum/snapchat-333">Forum Snapchat</a>
- Qui pourrait me dire qui sont ces personnages - <a href="https://forums.commentcamarche.net/forum/cinema-tele-18">Forum Cinéma / Télé</a>