Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
303 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
    int a[3][3];
	for (int i = 0; i < 3; i++)
	{
		for (int j = 0; j < 3; j++)
		{
			cin >> a[i][j];
		}
	}
	for (int i = 0; i < 3; i++)
	{
		for (int j = 0; j < 3; j++)
		{
			cout <<  a[i][j] << " ";
		}
		cout << endl;
	}
}