then modify it so that all the elements of the array are printed sfter each pass of the outer loop
7 3 66 3 -5 22 -77 2
Please note that you have to update the array length for any new array you enter. Or you can do it dynamically from user, but that is beyond the scope of this problem.
Hope it ...