// Creation of new types using enum to associate a set of names #include void main() { enum Days { Sun, Mon, Tue, Wed, Thu, Fri, Sat }; Days today; today = Sun; if(today == Sun) cout << "Yes, it is Sunday" << endl; cout << (today + 1) << endl; enum Month {Jan = 1, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec}; // Feb is 2, Mar is 3, and so on Month thismonth; thismonth = Sep; if(thismonth == Aug) cout << "It is hot"; else cout << thismonth; }