Can you always convert a while loop into a for loop? Convert the following while loop into a for loop.
int i = 1;
int sum = 0;
while (sum<10000) {
sum = sum + i;
i++;
}
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.