Question: Code in C++ please Chapter 5 Homework 3 Student Line Up Using Files A teacher has asked all her students to line up according to
Code in C++ please 
Chapter 5 Homework 3 Student Line Up Using Files A teacher has asked all her students to line up according to their first name. For example, in one class Amy will be at the front of the line, and Yolanda will be at the end. Write a program that will prompt the user for a filename that contains the student names. Names should be read in until there is no more data to read. As the names are read in, you will check to see if the new name should be in the first or last student. Do not use arrays or sorting for this problem! The file to use is at the bottom of Moodle screen for Chapter 5. Remember to check to see if the file opened. Also remember to close the file when done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
