Large amounts of conditionals can often be awkward for
if statements. The
switch statement will often work better
Note that you don’t need to include
break in every case, which executes the code but then keeps going.