Skip to content
Advertisement

Hi: the following code that should prints a correspondng season based on the value presented on the variable season_num: the code not working properly [closed]

JavaScript

Advertisement

Answer

What you’re probably trying to do is this:

JavaScript

However, a better way to do this is to use a dictionary:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement