Question: Create a method called displayHighScorePosition. The method should take two parameters name of the player and high score position. The method should display the players
Create a method called displayHighScorePosition. The method should take two parameters name of the player and high score position. The method should display the players name along with a message he got position and the position they got on the game. Create second method called calculatehighscoreposition in the same class. The method should be sent one argument, the player score. The method should return int data type as shown below: 1 if the score is >1500
2 if the score is >=1000 and <1500
3 if the score is >=500 and <1000
4 if the score is >100 and <500
5 in other cases.
Call methods for all above cases.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
