Haven't solved.Why don't loop work upto the limit?
Why don't output shows upto N[20]? Why it shows upto N[11]? Explain the cause and debug it... Problem::Write a program that reads an array N [20]. After, change the first element by the last, the second element by the last but one, etc.., Up to change the 10th to the 11th. print the modified array. Input The input contains 20 integer numbers, positive or negative. Output For each position of the array N print "N[i] = Y", where i is the array position and Y is the number stored in that position. sample input:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 sample output: N[0]=20 N[1]=19 . . N[18]=2 N[19]=1 https://code.sololearn.com/cZrPf59VCIRy/?ref=app&fbclid=IwAR3zUlyAPSqzw-_P7dmVE64WmWBHnmsoVbXcXXbh6HR77TYUOnDnF5nRHys