1)
#include
using namespace std;
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a[10][10];
int cur = 1;
for(int i = 0; i < 10; i++)
for(int j = 0; j < 10; j++){
a[i][j] = cur;
cur++;
}
for(int i = 0; i < 10; i++){
for(int j = 0; j < 10; j++)
cout << a[i][j] << " ";</p>
cout << "\n";</p>
}
}
2)
#include
using namespace std;
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a[5][5];
int cur = 3;
for(int i = 0; i < 5; i++)
for(int j = 0; j < 5; j++){
a[i][j] = cur;
cur+=3;
}
for(int i = 0; i < 5; i++){
for(int j = 0; j < 5; j++)
cout << a[i][j] << " ";</strong>
cout << "\n";</strong>
}
}
3)
#include
using namespace std;
signed main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a[11][11];
for(int i = 1; i <= 9; i++)</p>
for(int j = 1; j <= 9; j++)</p>
a[i][j] = i*j;
for(int i = 1; i <= 9; i++){</p>
for(int j = 1; j <= 9; j++)</p>
cout << a[i][j] << " ";</p>
cout << "\n";</p>
}
}