For our recent project in school, one of the requirements that I cannot figure out is how to use a 5x5 array to make a letter using * and spaces like:
****
*
*
*
****
Do you need to use for loops? I used a struct (which is a requirement) to declare an 5x5 array and a char called character.
1 2 3 4 5
struct Letter
{
int grid [5][5];
char character;
};
Then, using the following code to get the letter based on what is input