Triathalon Program
------------------

Name of the triathalon? Toronto Classic
How many categories in the triathalon? 4

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 1

Adding a Category
Category name? youth

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 1

Adding a Category
Category name? women

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 1

Adding a Category
Category name? men

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 2

Registering athletes
Which category are the athletes in? women
Enter athletes for the 'women' category.   Type 'stop' when finished.
Athlete Name? Jane
Jane registered with athlete number 11.
Athlete Name? Sally
Sally registered with athlete number 21.
Athlete Name? stop
Added 2 athlete(s) to category women.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 2

Registering athletes
Which category are the athletes in? youth
Enter athletes for the 'youth' category.   Type 'stop' when finished.
Athlete Name? Billy
Billy registered with athlete number 10.
Athlete Name? Alice
Alice registered with athlete number 20.
Athlete Name? Joey
Joey registered with athlete number 30.
Athlete Name? stop
Added 3 athlete(s) to category youth.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 5

Triathalon Report

Triathalon: Toronto Classic
        Categ.  Athlete  #      Swim    Bike    Run     Overall
        youth   Billy   10      NA      NA      NA      NA
        youth   Alice   20      NA      NA      NA      NA
        youth   Joey    30      NA      NA      NA      NA

        women   Jane    11      NA      NA      NA      NA
        women   Sally   21      NA      NA      NA      NA

        men     - no athletes in category.


Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 2

Registering athletes
Which category are the athletes in? women
Enter athletes for the 'women' category.   Type 'stop' when finished.
Athlete Name? Sue
Sue registered with athlete number 31.
Athlete Name? stop
Added 1 athlete(s) to category women.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 2

Registering athletes
Which category are the athletes in? men
Enter athletes for the 'men' category.   Type 'stop' when finished.
Athlete Name? Sam
Sam registered with athlete number 12.
Athlete Name? Marc
Marc registered with athlete number 22.
Athlete Name? stop
Added 2 athlete(s) to category men.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 5

Triathalon Report

Triathalon: Toronto Classic
        Categ.  Athlete  #      Swim    Bike    Run     Overall
        youth   Billy   10      NA      NA      NA      NA
        youth   Alice   20      NA      NA      NA      NA
        youth   Joey    30      NA      NA      NA      NA

        women   Jane    11      NA      NA      NA      NA
        women   Sally   21      NA      NA      NA      NA
        women   Sue     31      NA      NA      NA      NA

        men     Sam     12      NA      NA      NA      NA
        men     Marc    22      NA      NA      NA      NA


Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 3

Deleting athletes
Enter athlete numbers.  Type 'stop' when finished.
Number of the athlete to delete? 31
Athlete 31 deleted.
Number of the athlete to delete? 20
Athlete 20 deleted.
Number of the athlete to delete? stop
Deleted 2 athlete(s).

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 5

Triathalon Report

Triathalon: Toronto Classic
        Categ.  Athlete  #      Swim    Bike    Run     Overall
        youth   Billy   10      NA      NA      NA      NA
        youth   Joey    30      NA      NA      NA      NA

        women   Jane    11      NA      NA      NA      NA
        women   Sally   21      NA      NA      NA      NA

        men     Sam     12      NA      NA      NA      NA
        men     Marc    22      NA      NA      NA      NA


Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 4

Adding event times for athletes
In which category are you adding athlete event times? women
Enter athlete numbers and their event times (in seconds).
Type 'stop' for athlete number when finished.
Athlete Number? 21
Event Time? 120
Athlete Number? 11
Event Time? 130
Athlete Number? 21
Event Time? 590
Athlete Number? 11
Event Time? 680
Athlete Number? 21
Event Time? 870
Athlete Number? 11
Event Time? 940
Athlete Number? stop
Added 6 event time(s) to category women.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 4

Adding event times for athletes
In which category are you adding athlete event times? youth
Enter athlete numbers and their event times (in seconds).
Type 'stop' for athlete number when finished.
Athlete Number? 10
Event Time? 169
Athlete Number? 30
Event Time? 189
Athlete Number? 10
Event Time? 720
Athlete Number? stop
Added 3 event time(s) to category youth.

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 5

Triathalon Report

Triathalon: Toronto Classic
        Categ.  Athlete  #      Swim    Bike    Run     Overall
        youth   Billy   10      169     551     NA      NA
        youth   Joey    30      189     NA      NA      NA

        women   Jane    11      130     550     260     940
        women   Sally   21      120     470     280     870

        men     Sam     12      NA      NA      NA      NA
        men     Marc    22      NA      NA      NA      NA


Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 6

Category Report
Which category? women

        Categ.  Athlete  #      Swim    Bike    Run     Overall
        women   Jane    11      130     550     260     940
        women   Sally   21      120     470     280     870

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: 7

Athlete Report
Athlete has which athlete number? 10

        Categ.  Athlete  #      Swim    Bike    Run     Overall
        youth   Billy   10      169     551     NA      NA

Triathalon Program Menu
   1: Add a category
   2: Register athletes in a category
   3: Delete athletes
   4: Add event times for athletes in a category
   5: Report all triathalon information
   6: Report for one category
   7: Report for one athlete
Menu number or "quit" to quit: quit