Simple problem: print an n by n box from a function.
A couple caveats:
-You may not use any loops
-The function must have exactly one parameter of type int (or the equivalent in your chosen language)
-You may not partition data into this parameter (including switching it between negative and positive)
-No global variables
-The program must exit without an error
-You may only use the following:
Print a string (a single asterisk or, if needed, multiple (but must be hard-typed: e.g. print("**"); may also print a newline)
If-then-else/switch statements
Recursive calls
Returning values (if needed: function may or may not return a value)
(Local) Variable declaration/assignment/usage
Keep the spirit of the challenge, good luck!
(Preference given to most elegant/clever solution: not shortest code -- make it readable!)