Elsif


#1

print "Yes or no,"
print "Can you even?"
even = gets.chomp
even1 = even.capitalize
even.capitalize!

if even == "Yes"
puts "You did it!"
elsif even == "No"
puts "You have failed."
else
puts "Some how you broke it."

This returns the error: (ruby):12:syntax error, unexpected $end, expecting keyword_end

I don't know what is wrong with it


#2

You just have to close your if ... elsif ... else construction with the end keyword.


#3

okay thank you :grinning:


#4

You're very welcome :smile: