#include #include using namespace std; int main() { for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { cout << i << ", " << j << "\n"; } for (int j = 0; j < 3; ++j) { cout << i << ", " << j << "\n"; } } for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { cout << i << ", " << j << "\n"; } } return EXIT_SUCCESS; }