Posts by Filipe Casaletti Legnani • 56 points
1 post
-
4
votes1
answer35
viewsA: How do I print an array in the form of rows and columns?
for(int i=0; i<3; i++){ for(int j=0; j<2; j++){ printf("%d", m[i][j]); } printf("\n"); } just insert a "printf(" n");" between the two loops for there to be a line break between the matrix…