#include<iostream.h>
#include<conio.h>
int main()
{
int a, b, c, large;
int big(int, int,int);
int (*ptr) (int, int, int);
ptr = &big;
clrscr();
cout<<"Enter three numbers : ";
cin>>a>>b>>c;
large = (*ptr)(a, b, c);
cout<<endl<<"The highest of the entered three numbers is = "<<large;
getch();
return 0;
}
int big (int x, int y, int z)
{
int s;
s = x;
if (y > s)
s = y;
if (z > s )
s = z;
return (s);
}