#include <iostream.h>
class Human
{
private:
//***1***
int stature,avoirdupois;
char blood_type;
public:
//***2***
Human()
{
stature=175;
avoirdupois=70;
blood_type='a';
}
Human(int sta=180,int avo=80,char blood='O')
{
stature=sta;
avoirdupois=avo;
blood_type=blood;
}
int GetStature(){
return stature;
}
int GetBlood_type(){
return blood_type;
}
void SetHuman(int st,int av,char b1);
void Print();
};
//***3***
void Human::SetHuman(int st,int av,char b1)
{
stature=st;
avoirdupois=av;
blood_type=b1;
}
void Human::Print()
{
cout<<"Human: ";
cout<<stature<<","<<avoirdupois<<","<<blood_type<<endl;
}
void main()
{
Human d1(168,59,'B');
Human d2;
Human d3(d1);
//***4***
d2.SetHuman(172,65,'o');
d1.Print();
d2.Print();
d3.Print();
}