Create a program to keep track of the participants in a triathlon. Your program will keep track of the times in three events: Running, Swimming, and Biking. Your program will calculate who is the winner in the Male category and the Female category based on the total lowest score of the three events.
- Create a separate classes for each of the three events: Running, Biking and Swimming. Each should hold the time (use a double so you can hold fractions of a second)
§ Class 1 - Running: Gabrielle
These classes should have static data members of 60 minutes. This is the maximum time of any one event. Compare the Athlete's time of each event to the static data member. If the athlete's time exceeds the 60 minutes, output a message that they are disqualified.
- Calculate the lowest total score for the Males and the Females. Gabrielle