Question: C++ Press any key to continue / HW 7d- Cat class Create 3 files: 1.) Cat.h o Include a class specification for a Cat class
Press any key to continue / HW 7d- Cat class Create 3 files: 1.) Cat.h o Include a class specification for a Cat class o Data members include: .A cat's weight - A cat's color o Member functions (methods) include: . A method called setWeight, to set the cat's weight . A method called setColor, to set the cat's color . A method called displaylnfo, that displays a cat's age and weight on the screen - A method called meow, that lets the cat say "Meow' on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
