C++
//Data in person: * string name * int rhs;//right-hand strength * int lhs;//left-hand strength * int evasion; //ability to dodge bitey zombies Weapon* rhw; //right-hand weapon Weapon* lhw; //left-hand weapon bool bitten; //by a zombie void Person::display() { //cout the person's name //evasion & r/l strengths cout << "In right hand:"; if(rhw!=NULL) { cout << endl; rhw->display(); } else cout << "empty" << endl; }