extern printd(x);
def fun(y)
    while y < 10 do
      (printd(y*y) : y = y + 1)
;
fun(0);
