1.

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.

Answer»

hi...Explanation:PLEASE SHARE the for LOOP...so that we can help...Regards



Discussion

No Comment Found