Hello. I am asked to write a C specific code to draw the following shape:


Drawing a semi-complex shape using loops-programm-png


The restrictions are, that no arrays can be used. Loops are to be used.
Now, I'm not quite sure how to perform this. I tried to imagine this as a big rectangle and divide it into four equal parts( i<n/2 && j<n/2) - the first quadrant, etc.

Any help would be appreciated.

Also, we are expected to input the "size".