Question: You are to develop a Java console appolication using the NetBeans 8.2 IDE. The application is to determine the winning teams for a round

You are to develop a Java console appolication using the NetBeans 8.2 IDE. The application is to determine the winning teams for a round of Australian Rules football and to generate statistics for the round. In this particular league, there are 10 teams and a round consists of 5 games. For each game, the following data is to be entered from the keyboard. Name of team i Goals scored by team I Behinds scored by team / Name of team 2 Goals scored by team 2 Behinds scored by team 2 There are various ways in which this can be done. As shown below, I have chosen to enter all input values on a single line rather than on separate lines - the choice is yours. In Australian Rules football, a goal is worth 6 points and a behind is worth I point. The team wich the most points is the winner of the game. If both teams have the same number of points, the game is designated a draw. In addition to determining the outcome of each game, a rating for each game is to be displayed. Our rating is an integer in the range 1-4 and is an attempt to measure the "excitement" associated with a particular game. Ratings are as follows Rating Criteria 4 Winning margin is between I and 6 points inclusive or the game is drawn. Winning margin is between 7 and 24 points inclusive The winning margin is greater than 24 points, but both teams scored more than 100 points. All remaining results When all games for the round have been processed, the smallest and largest margins are displayed, together with the average margin (as a non-rounded integer) for the round. An example run is shown below: run: Enter results for each game in the round on a single line Format is: teami goals behinds teame goals behinds
Step by Step Solution
3.38 Rating (151 Votes )
There are 3 Steps involved in it
To develop this Java console application follow these steps Step 1 Data Structure Define a class Game to store information about each game java public ... View full answer
Get step-by-step solutions from verified subject matter experts
