Question: Using the clas le class ob given below write a COMPLETE CODE for the two met average and multiply inside the boxes provided. class ob
Using the clas le class "ob" given below write a COMPLETE CODE for the two met average" and "multiply" inside the boxes provided. class ob int id; public: ob(); ob(); int average(ob ); // Returns the average of the ids of two objects void multiply(int); // Multiply the id by a certain factor // Write a COMPLETE CODE for average method with function heading. // Write a COMPLETE CODE for multiply method with function heading
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
