Write an OOP that find the average of two numbers using friend class. Create two classes called first and second. Class first contains one private (n) of type int and a function get n() to read a value for n, Class second contains one private (m) of type int, a function get_m() to read a value for and function avr() which average of and m. The main program includes the call of all functions
Answers
Answered by
0
Answer:
I will answer in telegu
Explanation:
bagunava thinnava bonchesava eppudu dongaatanam cheaqudu taskarinchali
Similar questions