hello,
im pretty new to C and for my first project, I have to print out information about a box.(exciting...) anyway, i have the user enter the width and height of the 2d box, and then give them a menu to select from, to get info about the box, perimeter, area and so on..., one of the menu options is to print out a picture of the hollow box...I'm having trouble with the logic behind this..of how to perform this action. I can print out a regular box
ie.
Selection: R
A solid Rectangle with 4 rows and 3 collumns
$$$$$$
$$$$$$
$$$$$$
$$$$$$
2 ASCII characters makes up one collumn..
but the problem im having is making it look like this...
A solid Rectangle with 4 rows and 3 collumns
$$$$$$
$$ $$
$$ $$
$$$$$$
I'm not necessarily asking for the code, but maybe the logic of behind how i could do this :cheesy:
Thanks!