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