[Solved] How is it working? Please explain to me line by line [closed]


Line 1 : Array Declaration.
Line 2 : Then you run a loop for a half of the array.
Line 3,4,5 : alternating the number like this shown below.enter image description here

Line 6 : Print it in the console window.

solved How is it working? Please explain to me line by line [closed]