Programming Project 7.8 required rewriting the solution to Programming Project 4.10 with inheritance. Redo or do Programming Project 7.8, but instead define the Pet class as an abstract class. The acepromazine() and carprofen() methods should be defined as abstract methods.
In your main method define an array of type Pet and add two instances of cats and two instances of dogs to die array. Iterate through the array and output how much carprofen and acepromazine each pet would require.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.