Itération : exemples numériques (2)

On exécute l'algorithme suivant :
-8 → X
-1 → Y
0 → I
WHILE I ≤ 4
X + Y → X
I + 1 → I
END_WHILE
DISPLAY Y
Quand cet algorithme a terminé, il affiche la valeur :


This page is not in its usual appearance because WIMS is unable to recognize your web browser.
In order to access WIMS services, you need a browser supporting forms. In order to test the browser you are using, please type the word wims here: and press ``Enter''.

Please take note that WIMS pages are interactively generated; they are not ordinary HTML files. They must be used interactively ONLINE. It is useless for you to gather them through a robot program.