Create a program to keep track of the participants

Assignment Help Basic Computer Science
Reference no: EM13165092

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 class called Athlete that holds the first name, last name, gender, and number of the athlete.
  • Create three 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).
    • 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.
  • Get the data for each of the Athletes and write it to a file.
  • Calculate the lowest total score for the Males and the Females.
  • Output the winners' names, time for each event, and total time.
  • Display a sorted list of all males with their last name and total score.
  • Display a sorted list of all females with their last name and total score.

Your application must include the following:


Constructors

Delegate

Arrays

Abstract Class or Interface

Exception Handling

Static Data Members

Overloaded Operator or overridden method

MessageBox

Inheritance

Data Validation

File Input/Output

Value Added - something not listed above

Reference no: EM13165092

Questions Cloud

What is the new concentration of the acid : A bottle of 5.5 M acid has 21.3 mL remaining in it. If the acid is diluted to 700 mL, what is the new concentration of the acid?
Write the footnote for danerys year-end financial statement : Write the footnote for Danerys' year-end financial statements related to goodwill and other intangible assets. Assume Danerys had no intangible assets prior to the acquisition.
Calculate the molar mass of the biomolecule : For carbon tetrachloride, the boiling point constant is 5.03°C · kg/mol, and the boiling point of pure carbon tetrachloride is 76.50°C.
Compute the ph of the solution at the equivalence point : Calculate the pH of the solution at the equivalence point. b) What volume of 0.05 M HCl solution should be added to the sodium glutamate solution to yield a pH of 4.5?
Create a program to keep track of the participants : 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.
State liquid that is a component of a wound dressing : An aqueous solution containing 0.003 M NaCl and 0.005 M CaCl2 is mixed with the polysaccharide alginate to create a high-viscosity liquid that is a component of a wound dressing
Should you set in ta1ctl, and what corresponding : Which bits (including divisor bits) should you set in TA1CTL, and what corresponding countshould you set in TA1CCR0, to trigger an interrupt every 400 msec?
Python errors : python errors, please correct them that are located in this program,
Compute the atomic mass of an element : calculate the atomic mass of an element with a measure specific heat of 0.14 J/(g C). Express your answer in atomic mass units to two significant figures.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Given a 3 millisecond seek time

Given a 3 millisecond seek time for a disk drive and assuming that once you reach the starting track you will write the file as contiguous sectors, how long will it take to write a 1 megabyte file? The disk rotates at 7200 rpm and each sector hold 1 ..

  Explaining slash dotted and flash crowd

What do terms slash dotted and flash crowd signify to?

  Conduct observation used in business or organization

Conduct the observation to someone involved in procedure which is used in the business or organization. This person could be someone at university.

  1.what is the value of the following instruction?

1.What is the value of the following instruction? mov al,01101011b shr al,22.What is the two's complement of the binary number 11010000?3.Which statement defines an array local variable consisting 40 signed words?

  Application letter and resume

In this project, you will work with a fax cover sheet, an application letter, and a resume. To complete the project you will create a table, add text to a table, and format tables.

  What are the advantages of that method and disadvantages

a company has two building that are 50 meters (roughly 50 yards) apart. Between the building is private land owned by the company. A large walk-through tunnel connects the two buildings.

  Significant invention which shaped society today

Pondering history of technology development, decide what you think was the most significant invention previous to the 1600s which has shaped society today. Explain your decision.

  Computing exact speed of a t1 line

Below what speed are there different leased line standards in different parts of the world? What is the exact speed of a T1 line?

  How can you quickly investigate and collect digital evidence

Prepaid cell phones make forensic investigation much hard. Discuss how can you quickly investigate and collect digital evidence for a crime what involves a phone call.

  Write a turing machine that takes as input

Write a Turing machine that takes as input the unary representation of any two different numbers, separated by a blank, and halts with the representation of the larger of the two numbers on the tape.

  Write a version of sum pairs i that sums each component

Using SML write a version of sumPairs that sums each component of the pairs separately, returning a pair consisting of the sumof the first components and the sum of the second components

  Converting binary numbers in decimal

Convert the given binary numbers in decimal: 101110; 1110101; and 110110100. Convert the given decimal numbers to bases indicated.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd