i have a problem about recursion i have to draw a square with diamonds i have a print_diomand() function but i have to write print_square function .it is a recursive function.
the output is like that;
when i draw the first diaomand the function should draw the symetric with respect to x axis and so on with recursivelyCode:
* * * *
* (1) * * (3) * * (5) * * (7) *
* * * *
* *
* (10) * * (9) *
* *
* *
* (12) * * (11) *
* *
* * * *
* (2) * * (4) * * (6) * * (8) *
* * * *