Question: String [] playerNames = {*anything is fine here*}; int [] playerPoints = {22, 5, 13, 11, 10, 8, 25, 30, 2, 9, 15}; 1. Create
String [] playerNames = {"*anything is fine here*"};
int [] playerPoints = {22, 5, 13, 11, 10, 8, 25, 30, 2, 9, 15};
1. Create a method that uses the above arrays to return the NAME of the player who scored the most points
2. Create a method that takes the playerPoints array and returns the average points scored.
3. Create a method that takes the playerPoints array and returns the total points scored.
4. Create a method that uses the above arrays and displays the NAMES of the students who scored above the average points (will need the method from #2 for this)
This should be a not too complex java code, just a simple answer to the questions here.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
