Question: No Service 8:27 AM 97% Back Assignment 05.docx COP2800C Java Programming Assignment #5 The popularity ranking of baby names from years 2001 to 2010 is
No Service 8:27 AM 97% Back Assignment 05.docx COP2800C Java Programming Assignment #5 The popularity ranking of baby names from years 2001 to 2010 is downloaded from www.ssa. files named babynameranking2001.txt, babynameranking2002.txt...babynameranking2010.txt. Each file contains one thousand lines. Each line contains a ranking, a boy's name, a number for the boy's name, a girl's name, and number for the girl's name. So, the boy's name Jacob and girl's name Isabella are ranked number one and the boy's name Ethan and girl's name Sophia are ranked #2. 21.875 boys are named Jacob and 22,731 girls are named Isabella. Write a program that prompts the user to enter the year, gender, and followed by a name, and displays the ranking of the name for the year and stored in Sample Run* Enter the year: 2004 Enter the gender (M or F) Enter the name: va Eva is ranked #198 in the year 2004 Enter the year Enter the gender (M or F) Enter the name: The name Putin was not found in year 2008 Enter the year 2002 Enter the gender (M or F) Enter the name: John John is ranked #17 in the year 2002. Dashboard Calendar To Do Notifications Inbox No Service 8:27 AM 97% Back Assignment 05.docx COP2800C Java Programming Assignment #5 The popularity ranking of baby names from years 2001 to 2010 is downloaded from www.ssa. files named babynameranking2001.txt, babynameranking2002.txt...babynameranking2010.txt. Each file contains one thousand lines. Each line contains a ranking, a boy's name, a number for the boy's name, a girl's name, and number for the girl's name. So, the boy's name Jacob and girl's name Isabella are ranked number one and the boy's name Ethan and girl's name Sophia are ranked #2. 21.875 boys are named Jacob and 22,731 girls are named Isabella. Write a program that prompts the user to enter the year, gender, and followed by a name, and displays the ranking of the name for the year and stored in Sample Run* Enter the year: 2004 Enter the gender (M or F) Enter the name: va Eva is ranked #198 in the year 2004 Enter the year Enter the gender (M or F) Enter the name: The name Putin was not found in year 2008 Enter the year 2002 Enter the gender (M or F) Enter the name: John John is ranked #17 in the year 2002. Dashboard Calendar To Do Notifications Inbox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
