Question: Write a class Run that contains the following data members: 1 The name of the runner. 2 The distance covered by a runner. The class

Write a class Run that contains the following data members:

1 The name of the runner.

2 The distance covered by a runner.

The class has the follwing member functions:

1 Get function to input runner name and distance.

2 Show function to displays runner name and distance.

Write complete program 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!