Question: In C++ Create a text data file called lastname.dat which contains your lastname on the first line. Create a text data file called firstname.dat which
In C++ Create a text data file called lastname.dat which contains your lastname on the first line. Create a text data file called firstname.dat which contains your firstname on the first line. Write a program which reads your firstname and lastname from the respective files and displays your name in the format lastname, firstname
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
