Hello!!! I am new in programming and i think i might need you help. I am trying to swap the first column with the last. Can someone help? Here is the code:
Code:
for (i=0; i<N; i++)
	{for(j=0; j<M; j++)
		{ temp = A[i][1];
		  A[i][1] = A[i][M];
		  A[i][M] = temp;}
	}