I am writing a code to assign a scoring system to values of a card. I have a member function that takes an *int* and changes its value based on the scoring system. I can't seem to get it to output anything besides `10` :

```
int Obj::eval(int b)
{
    switch (b)
    {
    case 0:
        b = 11; //automatically assigns ace value of 11
    case 1:
        b = 2;
    case 2:
        b = 3;
    case 3:
        b = 4;
    case 4:
        b = 5;
    case 5:
        b = 6;
    case 6:
        b = 7;
    case 7:
        b = 8;
    case 8:
        b = 9;
    case 9:
        b = 10;
    case 10:
        b = 10;
    case 11:
        b = 10;
    case 12:
        b = 10;
    }

    return b;
}

```