Convert the following for loop statement to a while loop and to a do-
while loop:long sum = 0;for (int i = 0; i <= 1000; i++)sum = sum + 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.