Untitled
user_5811307
plain_text
2 years ago
435 B
11
Indexable
#include <iostream>
using namespace std;
#include <vector>
int main()
{
int mas[5][5];
for (int i = 0; i < 5; i++)
{
cout << "number" << i + 1 << endl;
for (int j = 0; j < 5; j++)
{
int a;
cin >> a;
mas[i][j] = a;
}
}
/*for (int i = 0; i < 5; i++)
{
cout << "number" << i + 1 <<": ";
for (int j = 0; j < 5; j++)
{
cout << mas[i][j] << " ";
}
cout << endl;
}*/
}
Editor is loading...
Leave a Comment