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