tp-langages-formels/syntaxique/counter.my

9 lines
96 B
Plaintext

bool x,y,z;
while !(x && y && z) do
print x,y,z;
x := x ^ (y && z);
y := y ^ z;
z := !z
od