-
Download bluej and edu.duke library.bluej with the library can be installled from here : http://www.dukelearntoprogram.com/downloads/bluej.php?course=2
-
Download the project
-
In bluej run the babyNames.java
-
Right click on the class tag to compile and run different functions and fill in the asked parameters.
- Run the function printNames() to print all names whose total number of births >500 in the selected file
- Run the function testTotalBirth() to get total number of births,total number of females and total number of males born in the selected year
- Run the function getRank() to find Finds Rank in a files
- Run the function getName() to find name on given rank
- Run the function whatIsNameInYear() to Tell what will be the most likely name if the person was born in newYear instead of year
- Run the function getTotalBirthsRankedHigher() to give the number of girls/boys ranked higher than the input name in the selected years
- Run the function yearOfHighestRank() - Out of multiple files selected for years,gives the year which has highest rank for the input name
**Select the folder us_babynames_by_year.Chose the year.Then according to the function select one or multiple files**
AUTHORS:
Garima Aggarwal
coursera.org ###USER INSTRUCTIONS:The program is made in bluej enviornment and edu.duke library has to be installed