I'm doing C programming.. Can I get some ideas on how to solve this question? I have totally no idea. I'm a beginner so would prefer a really simple approach (if it exist).. haha
When writing numbers, people often follow the practice of adding commas to separate the digits in groups of 3. Example: 1234567 would be written as 1,234,567
Given an input text file, with any kind of text, produce an output text file that’s a replica of the input file except that any occurrence of a number in the input file is replaced by the comma separated version of the same number. You may assume that every number occurrence is an integer.