Question: How to program this ? Welcomes the user Introduces and explains the application's purpose to the user Describes the program's purpose Asks the user for

How to program this ?

  • Welcomes the user
  • Introduces and explains the application's purpose to the user
  • Describes the program's purpose
  • Asks the user for the input file name( This is a preloaded file of baby names that were most popular from the past 100 years called BabyNames.txt)
  • Tests if the file opens correctly
  • Reads the data into a 2D array in the main program
  • Asks the user for a baby name
  • Either:
    • 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.
    • Returns a statement telling the user that the name has not been one of the most popular names in the last 100 years.
  • Asks the user if they want search again until they respond "no"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!