Assignment: In this program, you will create an object and display it. Create a class rabbit that includes data members color (string), age (int), and number of bunny children (int). Your class should have a constructor with three parameters. Assume that color and number of children is correct, but check to make sure age is less than 20. If it isn't, set the age to 1. Provide a set and get function for each data member. Provide a member function displayBunny that displays the color, age, and number of baby bunnies. This program does not need to accept input. Simply demonstrate the program with data of your choosing. Run your program with three different sets of data.
Our writing company offers a unique service that provides guidance in different types of assignments. Please rest assured that the service is absolutely legal and doesn’t violate any regulations. It can be used for generating new ideas and thoughts for your own project, additional insight into the subject, or encouragement for further researches.