Question: Running the Race Write a program that asks for the names of three runners and the time it took each of them to finish a

Running the Race

Write a program that asks for the names of three runners and the time it took each of them to finish a race. The program should display who came in first, second, and third place. Input Validation: Only accept positive numbers for the times.

Instruction:

Implement:

1. Redefine stream operators.

2. Oveloaded constructors functions.

3. Mutator functions.

4. Accessor functions.

5.class for time

6.class for name

Program must have 2 classes working in composition between each other

show answer in C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!