•Consider the following
declaration:
• enum Animals
{RODENT, CAT, DOG, BIRD, REPTILE, HORSE, BOVINE, SHEEP};
•and the following variable
declarations:
• Animals inPatient;
• Animals outPatient;
•Acceptable assignemnts
are
• inPatient = DOG;
• outPatient = inPatient;
• someInt = DOG;
• inPatient = Animals(inPatient + 1);
•