#include <iostream>
#include <string>
using namespace std;
enum Color { //Color is a programmer defined enumerated type
BLACK, //named value 0
WHITE, //named value 1
};
int main() {
Color something = WHITE;
switch (something) {
case BLACK:
cout << "something is " << something << "\n";
cout << "Something is " << "black" << ".\n";
break;
case WHITE:
cout << "something is " << something << "\n";
cout << "Something is " << "white" << ".\n";
break;
}
}