Exemple
PASCAL
C
programme
y:=10;
i:=1;
while(i<=10) do
begin
y:=y+i;
i:=i+1;
end;
y=10;
i=1;
while(i<=10)
{
y=y+i;
i=i+1;
}