old \\$chool a moh clan
EAch Team in a six-team soccer league played each other team once.
Shows the winners. Write a Program to
(a)Place the team names in a one-dimensional array.
(b)Place the data from 7.24 in a two dimensionaly array.
(c) place teh numer of games won by each team in a one-dimensional array.
(d) Display a listing of teams giving each team's name and numbers 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 Rams ---- Rams Ram
Cubs Cubs Cubs Owls Rams ---- Cubs
Zips Jazz Zips Owls Rams Cubs ----
Project 4 is page 396 #5 with the
following modifications:
(a) Prompt the user to enter the
names of six teams. Place the
user's six team names into a
one-dimensional array.
(b) Use Randomize and Rnd to
randomly determine the result
of each game. Place those results
into a two-dimensional array.
Use the teams entered by the user
and the randomly generated game
results in parts (c) and (d).