progs/loops.while
author Christian Urban <urbanc@in.tum.de>
Fri, 26 Oct 2018 17:13:41 +0100
changeset 593 bb24d4e207b6
parent 275 618c7640cf66
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
}