Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework #5 Total points: 20 1. Create a project in NetBeans and name the project Hw05. 2. Write a program with the following methods: (1)

image text in transcribedimage text in transcribed

Homework \#5 Total points: 20 1. Create a project in NetBeans and name the project Hw05. 2. Write a program with the following methods: (1) topFive Vame0 method reads the top five ranking boy and girl's names from the babynamesranking files for the year from 2001 to 2010 and save them in a tilc called top FiveBaby Names txt in the following format: The name renking files for the year from 2001 to 2010 are babynamesrenking2001.txl, babynamesranking 2003 txt, babynamessanking 2004 txt, babynamesranking 2005 . txt, babynamesranking 2006txt, babynamestanking 2007txt, babynamesranking 2008txt, babynamesranking 2009 txt. babynamesranking2010 txt. Taking babynamesranking 2010 txt as an example, the format for each year name ranking file is as follows: sy static void topFivelames() throws IOExeeption \{ it add your code 3 (2) searchikanking0 method asks the user for a name and a year between 2001 and 2010 to search the name's ranking in the year user entered. Assume the user enters Jacob and 2010 , the method prints a message "The name Jacob is ranked 1 in the year 2010. If the user enters ABC and 2010 the method prints "The name ABC is not ranked" static void searchRankingo throws IOException \& If add your code is (3) main( method ereates a menu and processes the user's choices. The menu looks like: a. Generate a file containing top five names b. Search a name ranking in a specific year 9. quit Select: public statio void main(String[] args) throws IOException s. If add your code f 3. lest your program 4. Submit all necessary files on Blackboard through the link Hw H5. Note: 1. The program should be properly documented. 2. You may NOI discuss this problem with your classmates. Duplicate work (or obviously similar one) will result in an F grade in the course

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

Step: 3

blur-text-image

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago