123456789
for (int i = 1; i <= 2 * n; i++) for (int j = 1; j <= n; j++) cout << 2 * i + j; cout << endl;
12345
for (int i = 0; i < a; i++) { for (int j = 0; j < b; j++) { //some code here } }
a * b