cwtests/cw03/loops.while
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 09 Oct 2021 12:29:15 +0100
changeset 843 97b622202547
parent 836 a3418ee8c404
permissions -rw-r--r--
updated

start := 1000; 
x := start;
y := start;
z := start;
while 0 < x do {
 while 0 < y do {
  while 0 < z do { z := z - 1 };
  z := start;
  y := y - 1
 };     
 y := start;
 x := x - 1
}