Program to keep track of the participants in a triathlon

Assignment Help Basic Computer Science
Reference no: EM13164602

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

 

Reference no: EM13164602

Questions Cloud

Containing all the genes in the dna sequence : As described above plus an integer reference parameter, and return a dynamically-allocated array of strings containing all the genes in the DNA sequence. Each string in the array will contain a unique
A company wants to see a printout : A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each department
Reads from the external file input.txt : Program that reads from the external file input.txt, counts the letters in every word, replaces the word by that number, and then writes the numbers to an external file output.tx
Design a program that extends the definition of the class : Design a program that extends the definition of the class JFrame to display a window on the screen. Name your class PropertyTax1, title your window "Calculation of Property Taxes," set the window's width to 400 pixels and height to 300 pixels, and te..
Program to keep track of the participants in a triathlon : 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..
Write an abstract class carbon footprint : Using an abstract class with only pure virtual functions, create three small classes unrelated by inheritance---clases Building, Car and Bicycle.
Calculate the geometric mean of numbers : Write a program to calculate the geometric mean of numbers entered by a user. The program should prompt the user to enter numbers and continue to accept the numbers until the user enters 999.
Make a fourth button called special : Make a fourth button called "special" that does something else notdescribed in the assignment, such as change the background color.
Write a c function called values that returns void : Write a C function called values that returns void and takes two double precision arguments (called a and b) and one double precision array argument.

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Find default amount of time that entry remains in arp cache

Determine the default amount of time that the entry remains in ARP cache before being removed. You can find this empirically (by monitoring the cache contents).

  The centroid and the cluster

Problem 1.  For the following set of points, the initial centroid, and the cutoff distance of 4, do the following operations: 1) find the clusters; 2) update the centroid value; 3) find the distance between the centroid and the cluster, and update th..

  Illsutrate how bound seem realistic

Sufficient to assure with 90% confidence that the learned perceptron will have true error of at most 5%. Does this bound seem realistic?

  Explaining paper on reconnaissance planning

Write a paper on reconnaissance planning. The paper is explaining the network and reconnaissance plan.

  There exists finite set of coin types-coin-changing problem

Show that if an ≠ 1, then there exists a finite set of coin types and a C for which there is no solution to the coin-changing problem. Show that there is always a solution when an = 1.

  Describe how cpu can achieve i-o with teletype by registers

Consider a computer system that contains an I/O module controlling a simple keyboard/ printer Teletype. Describe how de CPU, using the first four registers listed in this problem, can achieve I/O with the Teletype.

  A group of children play a scavenger

A group of children play a scavenger hunt under a time limit of two hours. Points are given to the amount of items found, the type of item does not matter.

  Identify and explore challenges and opportunities

LO2 Identify and explore contemporary challenges and opportunities in information systems and to formulate an opinion or judgement and offer possible solutions.

  Explaining drain corporate budgets and ultimately profits

First of all it eliminates requirement of hardware, downloads and implementations which drain corporate budgets and ultimately profits. It takes companies only a third of the expenses that they will incurred to have their companies running.

  Explaining relationship of strategic and tactical plans

Descriibe in scholarly detail relationship of strategic, tactical, and operational plans,

  Relationship of human service organizations and populations

How do the unique relationship between human service organizations and the populations they serve impact ethical decisions?

  Describe primary uses of networking for business

Describe at least 2 of the primary uses of networking for businesses. Discuss how you might match appropriate networking technologies.

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