I need a simple algorithm with nothing complicated, no pointers, arrays ect.

I need to draw a HOLLOW rectangle of any given dimensions..

NOT

****
****
****

No "*" inside, only the borders.

Please somebody tell me the right way to do it.