Hello, I have to write a program that merges 2 seperate files and then outputs to a single file. Each input file is to have numbers in ascending order and the output is supposed to compare these and then put them in ascending order.
ex.: input1 = 1 3 5 7
input2 = 2 4 6 8
output = 1 2 3 4 5 6 7 8
I am supposed to create a function with 3 arguments (2 inputs 1 output).
Currently i am at a loss as to where to start and how to compare the 2 files.
I am currently just seeking for some help in getting started, and any advice would be wonderful.
(Sorry if this topic has arrisen before, I searched and was unable to find anything similar.)