Problem
given input a,b,c
where a,b,c
are positive even integers
and a > b > c
Make a box of any allowed character with dimensions a x a
Center a box of a different allowed character with dimensions b x b
within the previous
Center a box of another different allowed character with dimensions c x c
within the previous
Allowed Characters are ASCII characters are in [a-zA-z0-9!@#$%^&*()+,./<>?:";=_-+]
Input a=6, b=4, c=2
######
#****#
#*@@*#
#*@@*#
#****#
######
Input a=8, b=6, c=2
########
#******#
#******#
#**@@**#
#**@@**#
#******#
#******#
########
Input a=12, b=6, c=2
############
############
############
###******###
###******###
###**@@**###
###**@@**###
###******###
###******###
############
############
############
Rules
- Shortest code wins
- Remember that you can choose which char to print within the range given
- Trailing newlines accepted
- Trailing whitespace accepted
- functions may return string with newlines, string array, or print it