Question: DATA STRUCTURES NAME_ GL PHONE. NO INTERNER 3. class Distance To all the private: int feet: int inch; public: Distance (); //Constructor void getDist ();

 DATA STRUCTURES NAME_ GL PHONE. NO INTERNER 3. class Distance To

DATA STRUCTURES NAME_ GL PHONE. NO INTERNER 3. class Distance To all the private: int feet: int inch; public: Distance (); //Constructor void getDist (); void showDist(); ??? addDist(?????); 1. Complete the function heading (prototype) for addDist in the class declaration where it has ????. 2. Write a complete code for addDist method to add two distance. 3. Write a complete calling statement to addDist from the main method

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!