I costrutti if-else e switch fanno la stessa cosa, perciò puoi scegliere come ti pare