Write the DECLARATION of a class pet as follows: (HINT: you must INCLUDE this in another file)
Data member variables: species, weight, ageFunctions: default constructor, constructor with parameters to set all variables, print, set species, set age, set weight.Be sure to include any necessary include and using directives.
Include any directives that will prevent compilation errors due to multiple inclusions of a header file
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here