(Solved):Write a program that will read a series of names of people from a data file that has been created with extra blank spaces and reformat the names into a standardized format. The data file is mp5nam… View Answer…

 

Question

Write a program that will read a series of names of people from a data file that has been created with extra blank spaces and reformat the names into a standardized format.

The data file is mp5names.txt. It is arranged with the information for one person on each line.

The first character on the line will be either “M” or “F” indicating the gender of the person, and the second character will

Scroll to top