Hi there,
I am a student who needs help with a part of his project. I need to print out a square which is completely hollow on the inside. I've figured out that it has to be a nested loop but I am not sure about how to start it and whether or not I have to put a for statment in it or not. The range also 1-20. I am almost positive that the first statement is:
for ( i=1; i <=20; i++ )
The output should look like this:
Enter size of square (1-20): 9
* * * * * * * * *
* *
* *
* *
* *
* *
* *
* *
* * * * * * * * *
Please help me. Thank you.