Académique Documents
Professionnel Documents
Culture Documents
i←1 i=1;
TANT QUE i<= 10 FAIRE while (i<=10)
p←i*9 {
AFFICHER (i, " * 9 = " , p) p = i * 9;
i ← i+1; cout << i << " * 9 = " << p << "\n";
FTQ i = i +1;
}
Instruction faire... tant que
do
{
instruction;
instruction;
instruction;
}
while (condition);
VAR i, p : ENTIER int i, p;
i ←1 i = 1;
REPETER do
p←i*9 {
AFFICHER (i, " * 9 = ", p) p = i * 9;
i ←i +1; cout << i << " * 9 = " << p << " \n";
JUSQU'A i > 10 i = i + 1;
}
while (i<=10);
Instruction pour
for (valeur init;condition finale;pas)
{
instruction;
instruction;
...
}
VAR i, p : ENTIER int i,p;