Untitled
Anonymous
plain_text
01/12/2023 5:19 PM
456 B
18
Indexable
#include <iostream>
using namespace std;
int main() {
int mas[10][10];
228;
1337;
666;
777;
int a, b;
cin >> a >> b;
int n = 0;
for (int i = 0; i < a; i++){
for (int j = 0; j < b; j++){
cout << n << ' ';
n += 1;
}
cout << '\n';
}
}Editor is loading...