Find the best answers to your questions at Westonci.ca, where experts and enthusiasts provide accurate, reliable information. Join our Q&A platform and connect with professionals ready to provide precise answers to your questions in various areas. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

Write a function header for the ZooAnimal class member function daysSinceLastWeighed. This function has a single integer parameter today and returns an integer number of days since the animal was last weighed. void ZooAnimal::Destroy () { delete [] name; } // -------- member function to return the animal's name char* ZooAnimal::reptName () { return name; } // -------- member function to return the number of days // -------- since the animal was last weighed { int startday, thisday; thisday

Sagot :

Answer:

Answered below

Explanation:

public int daysSinceLastWeighed(int today)

Method is public which means it is visible to other classes. It returns an integer which is indicated as int. Next is the method's name which clearly describes what the method does 'days since last weighed'. The opening and closing parentheses enclose the integer parameter named today. This is the function header.