Working with Formatted Text

  1. Suppose we are given a text file of mentee/mentor in CSIE.
  2. Each line consists of three columns
    1. Student ID
    2. Student Name
    3. Mentor
  3. Write a program to analyze this file and show the statistics as follows.
    Note: Sort students according to their student id.