/*Write a program to find the maximum of two member variables suing friend function Programmed by: KiranShrestha Roll No.: 10121 Programmed on: 31st july,2011*/ #include <iostream.h> #include <conio.h> class D { intx,y; public: D(int a, int b) { x= a; y=b; } void display() { max(x,y); } friend void max (int ,int); }; […]