Question: please answare the question C++ language. 40. Provide the definition for a class named Llama. The llama class should have private members for name, age,
please answare the question
C++ language.

40. Provide the definition for a class named Llama. The llama class should have private members for name, age, times brushed, and whether or not it needs brushing. It should also have the following public members: o A constructor that takes the name and age as parameters, returning nothing. o An updateTimes Brushed method that takes a number of brushings as an argument, and returns an updated number of times brushed o A needsBrushing method that takes no parameters, and returns whether or not the llama needs brushing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
