real power(real x, int y) real z = x while y > 0 z * x let y - 1 print z return z power(2.0, 3)