What is the output of the following C++ code?
int i = 0;
int temp = 1;
while (i < 5)
{
i = i + 1;
temp = temp * i;
}
cout << "i = " << i << " and temp = " << temp << endl;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.