Code refactoring
code refactoring- I changed the 'else if' statements to a 'switch' statement to improve readability and maintainability.
code refactoring- I changed the 'else if' statements to a 'switch' statement to improve readability and maintainability.