Assignment: In this program, you will create an object anddisplay it. Create a class rabbit that includes data members color(string), age (int), and number of bunny children (int). Your classshould have a constructor with three parameters. Assume that colorand number of children is correct, but check to make sure age isless than 20. If it isn’t, set the age to 1. Provide a set and getfunction for each data member. Provide a member functiondisplayBunny that displays the color, age, and number of babybunnies. This program does not need to accept input. Simplydemonstrate the program with data of your choosing. Run
PayPal Gateway not configured
PayPal Gateway not configured