Question: please translate into java language 1. Create a rankings program named CalculateStandings. The program allows the user to enter two integer values and a string.

please translate into java language
1. Create a rankings program named CalculateStandings. The program allows the user to enter two integer values and a string. The values are points scored, points lost and team name. The points scored, points lost and name should be kept in a record object. The record object should calculate the current team average percent and compute team standings, ranking and rank. Team average percent is subtracted from team ranking points based on the following table: 0 to 19 10% 20 to 49 20% 30 to 59 50% 60+ 80%. Team Rank is computed by following table A 90-100 B 80-90 C 70-80 LOSER 0-70 The record obhject should also display the record using printf include: Team Name, Points Scored, Points Lost, Average Percentage, Standings and Ranking. Example input : 123 190 Team One 156 289 Team Two 125 300 Team Three Calculation : Team Standing = PointsScored - PointsLost Team Average Percentage (based on table) Team ranking = TeamStandings - Team Average Percentage of TeamStandings E.g Team One scored 60 points and lost 24 Team Standings = 60-24 = 36 Team AveragePercent = 20% (since 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
