Below is a for loop that works. Underneath the for loop, rewrite the problem so that it does the same thing, but using a while loop instead of a for loop. Assign the accumulated total in the while loop code to the variable sum2. Once complete, sum2 should equal sum1.
Answers
Answered by
0
Answer:
hi...
Explanation:
please share the for loop...
so that we can help...
Regards
Similar questions
Social Sciences,
4 months ago
Biology,
9 months ago
India Languages,
9 months ago
India Languages,
1 year ago
English,
1 year ago
Biology,
1 year ago