What does the following C function compute? You may assume the input argument is a positive integer.
int function (int x)
{
int y = 1;
int z = 0;
int i = 0;
while (x > 0) {
z += 6;
y += z;
x -= y;
++i;
}
— ADVERTISMENT—
—Advertise Here—
return i;
}