int main() { int x, y; while(x > 0) { x = x + y; y = y + z; z = z - 1; } }