The objective: take an integer (e.g. 1000000), and by using recursion, ultimately return this string: 1,000,000.
Can anyone figure out how this problem could be solved specifically by taking an integer and returning a string?
string addCommas(int n)
{
// ???
}
Thanks for any help or direction