PROBLEM:
Using a text editor, create a file that contains a list of five 4-digit account numbers. Read in each account number, and alter it to add a dash and a check digit, which is calculated by taking the remainder when the original number is divided by 7. Write the new account numbers to an output file.
Please give me some ideas on how can i do the string manipulation wherein i will put a DASH/" - " in between of the 4-digit numbers?
Regards,
br.