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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!