Drop links or images here to add them to the editor.

Opdracht

Schrijf een programma dat een matrix rijherleid. Print de uitkomst rij per rij (… uitleg wordt nog aangevuld)

Voorbeeld

Invoer:

2
2
1 2
3 4

Uitvoer:

1 0
0 1

Invoer:

2
2
1 2 3
1 2 4

Uitvoer:

1 2 3
0 0 1