First,ask user to enter numbers next, after arranging the numbers add this in the new file.
for example:
The number which have been entered for first File: 69 25 44 33 12
File 1
| 69 25 44 33 12 |
File 2
The Number which have been entered by user is: 65 95 74 21 41 10
| 65 95 74 21 41 10 |
File 3
| 10 12 21 25 33 41 44 65 69 74 95 |

VulpesPosted Apr 14, 2014, 9:22 AM
Sample input/output:
Joe WilsonPosted Apr 14, 2014, 8:21 AM
2) The files can contain equal numbers
3) the result of sorting must print out in file3
Thank You for your attentions
Joe Wilson
Shweta LodhaPosted Apr 13, 2014, 11:38 AM
1) What is the file format ? Is it csv, .txt, etc ?
2) Will your file contain only numbers?
3) Can there be same numbers in your files ?
4) Do you want the sorted output in your third file ?