(this program reads a txt file of popular baby names and when user…
Question Answered step-by-step (this program reads a txt file of popular baby names and when user… (this program reads a txt file of popular baby names and when user inputs name it states if it was popular in the past 100 years) how do i add into this program that if the name is on the array then to :—Returns, in a full sentence(s), the first year in which that name was most popular and how many times it has been the most popular name. if the name is not read on the array the to:—Returns a statement telling the user that the name has not been one of the most popular names in the last 100 years. #include


