Gas is expensive. If you want to check for a couple of conditions, you can use elsif to do another check and leave the else code as a last resort. You can have as many elsif statements as you want, but keep them between the if and the else statements. Also, note the extra parentheses, they separate the condition from the comparisons within it. Gas is expensive.
Gas is expensive.
Gas is expensive. You could check for several ranges here and get smart with the people using the program. Just keep using the elsif statement to check for more ranges. Using unless The unless condition checks for a certain condition and executes it every time unless the condition is true. Well, that's it for now.