switch 문을 동등한 일련의 if-else 문으로 대체합니다.