Q2) Create a 'DISTANCE' class with: - feet and inches as data members –
Member
-function to input distance
- Member function to output distance
- Member function to add two distance objects
Write a main function to create objects of DISTANCE class. Input two distances and output the sum.
Answers
Answered by
0
Answer:
Create a 'DISTANCE' class with: - feet and inches as data members
Results in English
पैर और डेटा सदस्यों के रूप में इंच के साथ एक दूरी वर्ग बनाने
हिन्दी में नतीजे
Search Results
Featured snippet from the web
We create a distance class with the following:
feet and inches as data members.member function to input distance.member function to output distance.member function to add two distance objects
Please follow me
Similar questions