#include <iostream.h>
#include<conio.h>
class Height
{
private:
int feet;
float inches;
public:
Height() :feet(0), inches( 0.0) {}
Height(int ft,float in):feet(ft),inches(in){}
void get()
{
cout <<"\n Feet";
cin >>feet;
cout <<" inches:";
cin >>inches;
}
void show()
{
cout <<feet <<" - " <<inches;
}
};
void main()
{
clrscr();
Height H1(6,4.0);
Height H2(H1);
Height H3 =H1;
cout <<"\nHeigh1 =";H1.show();
cout <<"\nHeigh2 =";H2.show();
cout <<"\nHeigh3 =";H3.show();
cout <<endl;
getch();
}