Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
297 B
0
Indexable
Never
#include <iostream>

using namespace std;
int main()
{
	int mas[5][5];
	for (int i = 0; i < 5; i++) {
		for (int j = 0; j < 5; j++) {
			cin >> mas[i][j];
		}
	}
	for (int i = 0; i < 5; i++) {
		for (int j = 0; j < 5; j++) {
			cout << mas[i][j] << ' ';
		}
		cout << endl;
	}
}
Leave a Comment