create two classes named as your and mine with two data members named as distance and time . input the values of both classes distance and time . define a friend class who calculate the total distance...


create two classes named as

your

and

mine

with two data members named as

distance and time
. input the values of both classes

distance and time

. define a friend class who calculate the total distance and total time of both classes and then convert into speed and also display the data which has more time and more distance.
USE FRIEND FUNCTION




C++




Please do it correctly




Thank you very much.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here