0

Please help me to explain my code

#include <iostream> #include <iomanip> using namespace std; // constructor void Puzzle() { cout << "\n \t *CrossWord Puzzle* \n\n"; char arr[10][10] = {{'I', 'D', 'I', 'V', 'I', 'S', 'I', 'O', 'N', 'V'}, {'N', 'O', 'I', 'T', 'I', 'D', 'D', 'A', 'R', 'D'}, {'R', 'E', 'T', 'C', 'A', 'R', 'A', 'H', 'C', 'T'}, {'G', 'B', 'A', 'E', 'L', 'B', 'U', 'O', 'D', 'C'}, {'S', 'C', 'M', 'E', 'G', 'V', 'S', 'G', 'E', 'A'}, {'D', 'B', 'O', 'O', 'L', 'E', 'A', 'N', 'N', 'R'}, {'F', 'L', 'O', 'A', 'T', 'L', 'R', 'I', 'X', 'T'}, {'D', 'H', 'L', 'R', 'A', 'F', 'J', 'R', 'K', 'B'}, {'I', 'T', 'C', 'O', 'V', 'E', 'B', 'T', 'P', 'U'}, {'G', 'M', 'O', 'D', 'U', 'L', 'U', 'S', 'Z', 'S'}}; for (int row = 0; row < 10; row++) { for (int column = 0; column < 10; column++) { cout

1st Dec 2022, 1:12 AM
Betty Mae De Vera
Betty Mae De Vera - avatar
2 Answers
+ 1
what you try to explain here? The comment above the function "constructor" is not a constructor as constructors not have return type and also missing the whole class. In the other hand if you not mean a class constructor then what you mean? Also the code isnt complete
1st Dec 2022, 1:36 AM
Giannis
Giannis - avatar
0
Not sure what you want to do, so In just make it at least have some output. https://code.sololearn.com/cGK1ArIxAcRP/?ref=app
1st Dec 2022, 2:42 AM
Lochard
Lochard - avatar