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
Get step-by-step solutions from verified subject matter experts
