Question: Xnip 14 #include 15 #include 16 #include 17 #include 18 #include 19 20 typedef std::vector str_vec; 21 22 23 const int YEAR_LOWER_BOUND = 1900; const

 Xnip 14 #include 15 #include 16 #include 17 #include 18 #include

Xnip 14 #include 15 #include 16 #include 17 #include 18 #include 19 20 typedef std::vector<:string> str_vec; 21 22 23 const int YEAR_LOWER_BOUND = 1900; const int YEAR_UPPER_BOUND = 2021; const int ZODIAC_SIZE = 12; const int INPUT_LENGTH = 4; 24 25 26 27 28 class Chinese Zodiac { private: str_vec _zodiac_list = {"Monkey", "Rooster", "Dog", "Pig", "Rat", "Ox", "Tiger", "Rabbit", "Dragon", "Snake", "Horse", "Goat"}; 29 30 31 32 33 34 public: // Access private _zodiac_list str_vec get_zodiac_list() const { return _zodiac_list; } 35 36 37 38 39 40 41 42 43 // Take input of year of birth std::string get_year_input(std::string s) { std::cout YEAR_UPPER_BOUND) { std::cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!