Discuss the below:
The attached file gives the content of a text database file "database.txt" that contains five columns: DSI#, Person_Number, Last_Name, First_Name and State.
Q: Write a C++ program that reads the data from "database.txt", swaps the First_Name and Last_Name columns and outputs the data to another text file called "Students2.txt".
Attachment:- Data of a person.rar