Project Requirements
Write a program meeting these specifications:
- An input file contains win-loss records for a Little League team. The data includes team name, wins, and losses.
- The program reads this data into a vector of structs. Each struct represents a single team.
- Then the program prompts the user to enter the winner and loser for a series of just-played games and stores the results.
- Finally the program prints out the new standings, in decreasing order of winning percentage.
- You must have at least 6 teams, with three new games played.
Hints: - "winning percentage" means wins/total games
- The final standings may go to screen output or a file.
- Practice doing simple tasks with structs stored in a vector before you really get started on the program.
- Keep team names simple. Your life will be easier.
|