You can use a switch statement here.

And please follow the indentation rules (4 spaces).