Question: Problem 4: Person class A person has a name, an origin country, a gender, and a year of birth. Represent the origin and the gender

Problem 4: Person class A person has a name, an origin country, a gender, and a year of birth. Represent the origin and the gender with enum types. Develop a class Person with - a default constructor, a constructor with arguments that initialize all Person members, - a copy constructor, - an assignment operator, and - a comparator operator (bool operator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
