NCAA File I/O Assignment

From WLCS

Objective:

  • You will create a program that allows the user to choose winners of the NCAA tournament. File reading and writing will be involved.

Directions:

  1. Prompt the user for a file name
  2. Open the file and read in all the teams
  3. Traverse the list of teams and for every pair of teams, prompt the user to choose a winner. Be sure to store the user's choices in a separate list
  4. Open a new file for writing to output the winners. Write to file all the winners that the user chose.

Additional files: