Question: Write a C++ program to merge the data of two files into the third one. Your program should ask the user to enter names of
Write a C++ program to merge the data of two files into the third one. Your program should ask the user to enter names of two files in which your name and roll number should be stored respectively and store this data in third file with the format given below in the attached Screenshot. The empty space in the mentioned format should be filled with the data from the two files. Display the content of the third file on the output screen. (Hint: If files dont exit, simply create two files and store your name in the first file and your roll number in second file).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
