If, else, else if


#1

Create an if/else statement in the editor. Make sure to include at least one elsif. Each branch of the statement should print something to the console.

if 3 > 1

"one is less than three"

elsif 1 > 3
# "one is greater than three"
else

"one is equal to three"

end

looks like your syntax isn't quite right.l


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.