class Triangle { public: Triangle(int xx=1,int yy=1,int zz=1) { x=xx; y=yy; z=zz; } void showMessage() { cout<<x<<" "<<y<<" "<<z<<endl; } private: int x,y,z; };