java Min brad smiley nels yifan alfred michellethen the output of the program should be "alfred".
java Salary nels 105000.80 mary 20000.50 frank 18153.33 nancy 91868.73 michelle 20858Your program should print each name and true if the person's salary is above the average salary for the group and false otherwise (if the salary equals the average, then output false). For example:
average salary = 51,176.27 nels 105,000.80 true mary 20,000.50 false frank 18,153.33 false nancy 91,868.73 true michelle 20,858.00 falseYou should be able to use the array search program covered in class and shown in the example code as a guide. A few notes:
newPerson.next = nextPerson;
The following code will go in ChineseZodiac.java:
The following code will go in ZodiacTest.java:
I do not care about the order in which you print the animals/years. Here is a sample output from one student's program in 2017. You do not have to do it exactly like this, but it should give you an idea about the formatting.
The last year of the RABBIT occurred in 2011 The year of the RAT last occurred in 2008 The year of the BULL last occurred in 2009 The year of the TIGER last occurred in 2010 The year of the RABBIT last occurred in 2011 The year of the DRAGON last occurred in 2012 The year of the SNAKE last occurred in 2013 The year of the HORSE last occurred in 2014 The year of the GOAT last occurred in 2015 The year of the MONKEY last occurred in 2016 The year of the COCK last occurred in 2017 The year of the DOG last occurred in 2006 The year of the PIG last occurred in 2007