I have two files with an unknown list of integers in ascending order.
What i want to do is send the contents of the two files into another file in ascending order.
We dont know the contents of the two numbers files.
so for example
File 1 may have the numbers:
1 3 4 5 6 9
File 2 may have the numbers:
2 3 10 11
The output file should have the two files like this.
1
2
3
3
4
5
6
9
10
11
I try using an array, but it cant work becaue we dont know the size of the two files.