I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard. Note: Backticks (`) are not single quotes (’).
You have to use the return statement to return the words like “Huge”.
Also the last else statement doesnt require a condition.
You have to remove only the last condition, because:
The else statement doesnt take condition.
Look at the other conditions, if num is lesser than 5 , else if its lesser than 10, 15, 20.
Now the last condition is if the num is greater or equal to the 20. This is evaluated in the last and happens if the other conditions do not work.
So, you dont need the last condition(its not compulsory).