Skip to content

Instantly share code, notes, and snippets.

@ryanckulp ryanckulp/elsif.rb
Created Jan 1, 2018

What would you like to do?
elsif example in Ruby
if x > 4
if x < 6
alert "Correct!"
elsif x == 4
alert "Correct!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.