Computer Science, asked by akshatsinha12s97, 7 months ago

give the value of s after the execution of the following code int s=4 ​

Answers

Answered by viiiakajal9
0

Answer:

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

Similar questions