Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
282 B
0
Indexable
Never
#include <iostream>
#include <math.h>



using namespace std;




int main()
{
	int mass[3][3];
	int n=3;
	for (int i = 0; i < 3; i++)
	{
		
		for (int j = 0; j < 3; j++)
		{
			 mass[i][j]=n*i+j;
			 cout << mass[i][j]<<" ";
		}
		cout << endl;
	}
	

}