Matrix transposition: Difference between revisions
→{{header|Objeck}}
Line 1,357:
for(i := 0; i < x; i+=1;) {
for(j := 0; j < y; j+=1;) {
IO.Console->Print(matrix[i,j])->Print(
};
'\n'->Print();
Line 1,368:
Output:
<pre>
1
1
1
1
</pre>
|