Dec-15-2017, 10:43 PM
You should:
1. Read three lines,
2. Store the values in tuple
3. Store the tuple in an array
4. Repeat 1, 2 and 3 until the end of the file
5. Sort the array of tuples
6. Write the output file
1. Read three lines,
2. Store the values in tuple
3. Store the tuple in an array
4. Repeat 1, 2 and 3 until the end of the file
5. Sort the array of tuples
6. Write the output file