enum weekday {SUN, MON, TUE, WED, THR, FRI, SAT}; enum weekday day; day = WED; day = 6; //May only use values from 0 to 6 if (day == WED) { …