Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The text files boys and girls contain a list of the 20 most popular boy and girl names in the United States for the year

The text files boys and girls contain a list of the 20 most popular boy and girl names in the United States for the year 2017 as compiled by the Social Security Administration (content of the two files are listed below). These are blank-delimited files, where the most popular name is listed first, the second most popular name is listed second, and so on, to the 20th most popular name, which is listed last. Each line consists of the first name followed by a blank space and then the number of registered births using that name in the year. Write a program that reads both the girl and boy files into memory using arrays. Then, allow the user to input a name. The program should search through both arrays. If there is a match, then it should output the popularity ranking and the number of namings. The program should also indicate if there is no match. For example, if the user enters the name Sophia, then the program should output Sophia is ranked 15 in popularity among girls with 8,134 namings. If the user enters the name Walter, then the program should output Walter is not ranked among the top 20 girl names or boy names.

Names and Popularity:

image text in transcribed

In Java language please

82201730511 33003390755656447972 76918488654418314763 1 1 nti 1 ei li ief-daci 0A_SMCA E A H E E A S E M S V 86424328161979019606 22037306405768415065 7/ 3 9 2 9 7 5 2 1 1 9 5 4 3 6 6 2 433 88443333332222111000 2 en le gnsi.1 c c c e h n t d n s c 1 01234567890

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago