Write the class definition for a dog

Write the class definition for a Dog. Private data fields include name, breed, and age, and a constant static field for the license fee, which is $12.25. Create public member functions to set and display the data. Write a main()function that demonstrates the class operates correctly. Save the file as Dog.cpp.

Leave a Reply

Your email address will not be published. Required fields are marked *