I need help with module 3 of Introduction to C++
I need help when doing the practice of module 3 of Introduction to C++, basically the problem is called Game Map and I can't find a way to complete it, since my code says that it meets 3 requirements but fails in 2, and when I change it then goes the other way around, complies with 2 of the instructions and fails in the other 3 Here I leave my code: #include <iostream> using namespace std; int main() { int map[7][7] = { {0, 0, 1, 1, 0, 1, 0}, {1, 0, 0, 1, 1, 0, 1}, {0, 1, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0}, {0, 1, 1, 0, 0, 1, 0}, {0, 0, 1, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 0, 1} }; for (int i = 0; i < 2; i++) { for (int j = 0; j < 1; j++) { cout << map[i][j] <<endl; } } }