My goal is to write a program that prints out any size triangle based on either one or two inputs (would prefer 2; e.g. range[a, e]). Each line of the triangle will be centered and looks like the attached output (equilateral triangle).
The restrictions are that:
This must be done recursively
No Loops
No Arrays
No Pointers
No Set Width
a
aba
abcba
abcdcba
abcdedcba