Question: In C++ Program1 Create a file with notepad, called firstLastAge.txt. Fred Smith 21 Tuyet Nguyen 18 Joseph Anderson 23 Annie Nelson 19 Julie Wong 17
In C++
Program1 Create a file with notepad, called firstLastAge.txt. Fred Smith 21 Tuyet Nguyen 18 Joseph Anderson 23 Annie Nelson 19 Julie Wong 17 Write a program that 1) 2) 3) 4) 5) Open the firstLastAge.txt file Read the FirstName, LastName and Age. Write a loop to read each line, until eof() Print out the read data Close the file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
