Un algorithme célèbre !
clairebtrs
Messages postés
2
Date d'inscription
Statut
Membre
Dernière intervention
-
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 !
- Logiciel algorithme euromillion - Télécharger - Loisirs créatifs
- Algorithme euromillion excel gratuit ✓ - Forum VB / VBA
- Groupe de 4 celebre ✓ - Forum Musique / Radio / Clip
- Algorithme ajout rapide snapchat ✓ - Forum Snapchat
- Quatuor célèbre personnage - Forum Architecture / décoration
2 réponses
Il est en entier