CS245 - CS II FALL 1996 PROGRAM III
DUE: beginning of lab - Nov. 15, 1996
You are to design and write a prototype C++ program for an fantasy
soccer program - FST. Your program will read in information for
soccer players (name, team, position [A-Attacker, M - Midfield,
D - Defender, G - Goalie], Goals Scored, Man of Match, # of Yellow
Cards, # of Red Cards, Goals Allowed, and # of Shutouts). Use
the following table to assign a Point value for each player. Only
Defenders and Goalies receive points for Goals Allowed and # of
Shutouts.
| Goals Scored | 4 |
| Man of Match | 5 |
| # of Yellow Cards | -2 |
| # of Red Cards | -5 |
| Goals Allowed | -1 |
| # of Shutouts | 2 |
[use http://www2.cybersports.co.uk/soccer/playerstats.cgi as a model of what your data will look like.]
Your program should allow the user to view the data in several
different forms: sorted alphabetically on name, sorted alphabetically
on team name, sorted alphabetically by position, and sorted in
descending order by total points.
PROGRAM SMART - REUSE YOUR CODE WHEREVER POSSIBLE!!!!!