subject

Charles is in charge of running a single elimination tournament. In such a tournament, teams play until they lose a game. Charles had a stack of paper, each sheet containing the results of a game in this tournament. During the tournament, after every team had played at least one game, he was walking down the hallway, when he tripped and chucked the stack of results all over the place. Since the papers were completely scattered, he needs your help figuring out which teams are still in the tournament.
1. Write a Java programm with the following info:
O Input Format
//The input to the program is a list of game results in the following format:
Team1 Score1 Team2 Score2
Where:
Team1 is the away team's name
Score1 is the away team's score
Team2 is the home team's name
Score2 is the home team's score
O Constraints
The scores will be integers greater than 0 and less than 200.
The team names will be alphabetic strings containing no spaces.
No games resulted in a tie.
O Output Format
//The output of the program is a list of the undefeated teams in alphabetical order, with one team per line.
//Sample Input 0
Chargers 87 Doves 70
Giants 3 Heat 1
Bucks 98 Lions 67
Avalanche 10 Bucks 20
Chargers 27 Oilers 14
Islanders 60 Jaguars 15
Kings 17 Lakers 27
Giants 3 Lakers 1
Islanders 15 Flyers 27
Panthers 2 Flyers 4
Lions 104 Magic 98
Nationals 8 Oilers 15
//Sample Output 0
Bucks
Chargers
Flyers
Giants

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:40
In a response of approximately 50 words, explain why it would be essential for the successful a/v technician to participate in additional coursework, presentations and seminars offered by equipment manufacturers as well as annual conferences attended by colleagues in the industry.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
You know the right answer?
Charles is in charge of running a single elimination tournament. In such a tournament, teams play un...
Questions
question
Social Studies, 30.06.2019 01:20
Questions on the website: 13722360