progs/loops.while
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 30 Oct 2013 15:14:14 +0000
changeset 172 47b5c91eff47
parent 148 36eb7bfb0e63
child 182 9ce2414e470e
permissions -rw-r--r--
added

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
};