tp-langages-formels/syntaxique/counter.my

9 lines
96 B
Plaintext
Raw Normal View History

2020-05-15 23:51:08 +00:00
bool x,y,z;
while !(x && y && z) do
print x,y,z;
x := x ^ (y && z);
y := y ^ z;
z := !z
od