Convert if-else statements to case statements for clarity