Complete the code to declare an enum named Color.
enum Color { RED, [1], BLUE };The enum Color includes RED, GREEN, and BLUE as its members.
Complete the code to assign the enum value to a variable.
enum Color myColor = [1];Enum members are case-sensitive and usually uppercase. Assigning RED to myColor is correct.
Fix the error in the enum declaration by completing the blank.
enum Days { MONDAY = 1, TUESDAY, [1] };Enum members should be uppercase and consistent. WEDNESDAY fits correctly after TUESDAY.
Fill both blanks to create an enum and assign a value.
enum [1] { SMALL, MEDIUM, LARGE }; enum [2] size = MEDIUM;
The enum is named Size, and the variable size is declared with that enum type.
Fill all three blanks to define an enum with explicit values and assign a variable.
enum [1] { LOW = 1, [2] = 5, HIGH = [3] }; enum Level current = MEDIUM;
The enum Level has LOW=1, MEDIUM=5, and HIGH=10. The variable current is assigned MEDIUM.
