You are on page 1of 1

#include<iostream.

h>
#include<conio.h>
int main() {
int i, j, mat[3][3];
for(i=0; i<3; i++)
for(j=0; j<3; j++) {
cout<< "matrica [" << i << "]" << "[" << j << "]: ";
cin>> mat[i][j];
}
for(i=0; i<3; i++) {
for(j=0; j<3; j++)
cout<<mat[i][j];
cout<< endl;
}
getch();
}

You might also like