代写代考 ET580, Quiz 1

ET580, Quiz 1
Submission detail:
A) Submit cpp file for each question with given main function. (If the given main function is not used, I will still use the given main to test your code.)
B) points distribution: 50% compilation, 50% correctness and logic.

Copyright By PowCoder代写 加微信 powcoder

Q1: Implement a class called Animal.
a) A class named Animal
b) Private data members: species and age.
c) Accessors and Mutators function for species, and age.
Use following main() to test your class.
int main() { Animal a;
a.setSpecies(“dog”);
a.setAge(10); cout<CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com