#include <iostream>
using namespace std;

int main() {
    // Deklarišemo dvodimenzionalni niz sa 3 reda i 4 kolone
    int matrix[3][4] = {
        {1, 2, 3, 4},
        {5, 6, 7, 8},
        {9, 10, 11, 12}
    };

    // Ispisujemo elemente matrice
    cout << "Matrica izgleda ovako:" << endl;
    for (int i = 0; i < 3; i++) {
        for (int j = 0; j < 4; j++) {
            cout << matrix[i][j] << " ";
        }
        cout << endl;  // Novi red posle svakog reda matrice
    }

    return 0;
}
