#include #include #include "animals.h" using namespace std; // you can do this if you use c++ 14 or higher const int TRIALS = 10'000'000; // this is good too as all values are know at compile time. const int ANIMAL_COUNT = int(LAST_ANIMAL-FIRST_ANIMAL); int main() { int count[ANIMAL_COUNT]; int i; AnimalT j; srand48(time(nullptr)); cout << "The animals are " << endl; for(j=FIRST_ANIMAL;j