[Solved] : Question 130170

To find the mean value of a given number using friend function? Declare the class name as Base with data members and member functions? The function get() is used to read the 2 inputs from the user? Declare the friend fucntion mean (base ob) inside the class? Outside the class to define the friend function and do the following? Return the mean value (ob.val1+ ob.val2)/2 as a float

Expert Answer

Answer to : Question 130170

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?