In C i can test the value of an enum using if/else statement. For example:

```
enum Sport {Soccer, Basket};

Sport theSport = Basket;

if(theSport == Soccer)
{
   // Do something knowing that it is Soccer
}
else if(theSport == Basket)
{
   // Do something knowing that it is Basket
}

```

Is there another way to do this work with C++?