// datatypes10.h By: Aiman Hanna - ©1993-2006 Aiman Hanna #ifndef DATATYPES10_H #define DATATYPES10_H #include class Year { // This class uses the month to determine the season, and the color of the trees. public: enum TreeColor { green, red, lightgreen, white }; enum Seasons { Fall, Winter, Spring, Summer }; enum Months { Jan = 1, Feb, Mar, April, May, June, July, Aug, Sept, Oct, Nov, Dec }; Year( Months ); void ShowTreeColor( void ); void BadShowTreeColor ( void ); Seasons BadFindSeason ( void ); char* FindSeason ( void ); void SetMonth ( Months ); private: Months mon; TreeColor color; Seasons seas; }; #endif