Question: how do I begin to make a java program that tracks the scores of soccer games and determines the winner? user is prompted to enter
how do I begin to make a java program that tracks the scores of soccer games and determines the winner?
user is prompted to enter the names for the home and visiting teams.
user enters the score for the home team first half and then the score for the visiting team
user is prompted to enter second half scores
After the scores are entered, the final score will be calculated
If the game is tied, the user will be prompted to enter the score for the overtime
Only one goal is allowed in the overtime
Following the overtime (if required), the program displays the results of the game
prompted to enter the names for the home and visiting teams.
user enters the score for the home team first half and then the score for the visiting team
user is prompted to enter second half scores
After the scores are entered, the final score will be calculated
If the game is tied, the user will be prompted to enter the score for the overtime
Only one goal is allowed in the overtime
Following the overtime (if required), the program displays the results of the game
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
