1. 26.
    0
    açıklama bu beyler;

    we would like to write a java program which simulates football matches between four football teams and calculate the winner according to the total score they achieve during the tournament. the program takes care of only four teams which will be named by the user. the user also provides the total number of matches to be played. these teams are then randomly paired for the matches. each match will generate a random score for both teams where a random number of goals are made. at the end of the match a team takes 3 points if it wins the game; takes 1 point if it is a draw. in this way, by calculating the total score for each team find the winner. the program should take into account the goal difference (average) if two or more teams have equal scores. an example output is shown below. a program is provided in course web site. do not forget to submit anaylsis, design, and testing pieces.
    ···
   tümünü göster