#include<iostream.h>
#include<conio.h>
class example
{
private :
int a, b;
public :
void input();
int high();
void output();
};
void example::input()
{
cout<<"Enter two number : ";cin>>a>>b;
}
int example :: high()
{
if (a>b)
return a;
else
return b;
}
void example :: output()
{
cout<<"Highest value = "<<high()<<endl;
}
int main()
{
clrscr();
example ex;
ex.input();
ex.output();
getch();
return 0;
}