How do i make a program using functions to get a "long" type number from the user and display it back to the screen with commas to seperate the digits.
For example, if the user puts in a "1982633", then it should print back to the screen, "1,982,633". It should do this for any number up till 10 digits. '
It should be simple, basic and easy to understand for i am a newbie and i dont know C++ very well.