Untitled
unknown
c_cpp
2 years ago
297 B
8
Indexable
#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;
}
}
Editor is loading...
Leave a Comment