Page 176 -
P. 176

coaching crisis


           Coach Kelly needs your help





                                                      I’m too busy on the track
                                                      to waste time fiddling with
                                                      my computer. Can you help
                                                      me process my athlete data?




























           The coach is an old friend, and you’d love to help. His crack squad of U10
           athletes has been training hard. With each 600m run they do, Coach Kelly
           has recorded their time in a text file on his computer. There are four files in   james.txt
           all, one each for James, Sarah, Julie, and Mikey.

            julie.txt                                   2-34,3:21,2.34,2.45,3.01,2:01,2:01,3:10,2-22



                  2.59,2.11,2:11,2:23,3-10,2-23,3:10,3.21,3-21
                                                                 2:22,3.01,3:01,3.02,3:02,3.02,3:22,2.49,2:38
             2:58,2.58,2:39,2-25,2-55,2:54,2.18,2:55,2:55
                                                           sarah.txt                           mikey.txt



           Initially, the coach needs a quick way to know the top three fastest times for each
           athlete.

           Can you help?

           140    Chapter 5
   171   172   173   174   175   176   177   178   179   180   181