Hi, I am trying to make a program that you input a integer such as 1000000. Then the program will return a string that has inserted commas where appropriate into the integer. So the program would print out the following: 1,000,000.
I am trying to do this recursively because I am having trouble understand recursive implementation.
Help would be much appreciated.