C++ only
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
Program 2
Use the file firstLastAge.txt from program 1.
Read in the data and print out the name and age of the youngestperson, and also the oldest person.
Use filename: Week17YourNameProg2
Program 3
Write a program that asks the user for the number of times to inputsome first names.
Open a file for output, called
PayPal Gateway not configured
PayPal Gateway not configured