Program Mencetak Elemen-Elemen Matriks A Berukuran 3×4 Yang Telah Diinisialisasikan

#include <iostream>
using namespace std;
int main()
{
cout<<endl;
cout<<“\tNama : Nur Rahman\n\tKelas : 04TPLP021\n\n”<<endl;
cout<<“\tMATRIKS 3 X 4\n\n”;
int a[3][4]={{1,3,4,5},{2,4,6,8},{3,5,7,9}};
int i,j;

cout<<endl<<“Matriks: “<<endl<<endl;
for(i=0;i<3;i++)
{
for(j=0;j<4;j++)
{
cout<<a[i][j]<<” “;
}
cout<<endl<<endl;
}
}