Here's the problem: Each team in a six-team soccer league played each other team once. See table below. Write a program to
a) Place the team names in a one-dimensional array.
b) Place the data from the table in a two-dimensional array.
c) Place the number of games won by each team in a one-dimsional array.
d) Display a listing of the teams giving each team's name an number of games won. The list should be in decreasing order by the number of wins.
_______________________________________________________________________
Jazz Jets Owls Rams Cubs Zips
Jazz ----- Jazz Jazz Rams Cubs Jazz
Jets Jazz ----- Jets Jets Cubs Zips
Owls Jazz Jets ----- Rams Owls Owls
Rams Rams Jets Jets ------ Rams Rams
Cubs Cubs Cubs Owls Rams ----- Cubs
Zips Jazz Zips Owls Rams Cubs -----
_______________________________________________________________________
PLEASE HELP!
THANKS
a) Place the team names in a one-dimensional array.
b) Place the data from the table in a two-dimensional array.
c) Place the number of games won by each team in a one-dimsional array.
d) Display a listing of the teams giving each team's name an number of games won. The list should be in decreasing order by the number of wins.
_______________________________________________________________________
Jazz Jets Owls Rams Cubs Zips
Jazz ----- Jazz Jazz Rams Cubs Jazz
Jets Jazz ----- Jets Jets Cubs Zips
Owls Jazz Jets ----- Rams Owls Owls
Rams Rams Jets Jets ------ Rams Rams
Cubs Cubs Cubs Owls Rams ----- Cubs
Zips Jazz Zips Owls Rams Cubs -----
_______________________________________________________________________
PLEASE HELP!
THANKS