Project #89888 - Java Programming -Hash tables

Hash table with list

Create two hash table (one for boy and one for girl), using the attached babynames.txt file as a input. You are to create a hash table with the following requirements in Java

1. Read the babynames.txt file as input

2. Feed the first 100 data into a hash table array (10 elements). The array should be using the ranking (first number of each line) as the key. Group them in groups of 10 (for example from 1 to 10) into the first element, from 11 to 20 into the second element of the array and so on).

3. Each element should contain a list with nodes. The node should contain name, number of infants (the number after the name), percentage (the second number after the name).

4. Display the names of the babies in each of the element (list)

5. Create a method to aggregate the total number of infants in a user selected element (list) of the array.

6. Create a method to aggregate the total percentage of infants in a user selected element (list) of the array.

 

Subject Computer
Due By (Pacific Time) 10/30/2015 04:30 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy