> the result should be this:
>
> xxxxxxxxxxxx
> xxxxyyyyxxxx
> xxxxyyyyxxxx
> xxxxyyyyxxxx
> xxxxxxxxxxxx
Several ways. You can make nested loops that just output x or y based
upon the location of the indices. Or you can use the initialize array
to do the y rectangle, then insert the rectangular x's to the left and
right, then insert the row of x's above and below.
Greg McKaskle