Answer to Question #130599 in C++ for daniyal

Question #130599
Write a program with following steps

● STEP 1: Start the program.

● STEP 2: Declare the class name as Base with data members and member functions.

● STEP 3: The function get() is used to read the 2 inputs from the user.

● STEP 4: Declare the friend function mean(base ob) inside the class.

● STEP 5: Outside the class to define the friend function and do the following.

● STEP 6: Return the mean value (ob.val1+ob.val2)/2 as a float.

● STEP 7: Stop the program.
1
Expert's answer
2020-08-25T10:21:33-0400
Dear daniyal, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS