Lab 5
Lab 5
In this lab, you are going to practice I/O streams. You should create an input file called “babynames.txt”, which
looks like this:
Finish the following code and run the program, type a name to see whether the name is in the list of baby
names
Submission:
You need to upload: the source code (.cpp files), input text file and the Screen shot of your program
output on Moodle.