Help!


#1

I can not go on, whenever there is an error in "if" see:

print "Bem Vindo, digite sua string!"
user_input = gets.chomp.downcase!

if "Sim".user_input.include? "s"
print "Undef"
user_input = gets.chomp.include? "s"
end


#3

I found how to solf that. You have to process the user_input in 2 stages, like this:

print "Bem Vindo, digite sua string!"
user_input = gets.chomp
user_input.downcase!

if "Sim".user_input.include? "s"
print "Undef"
user_input = gets.chomp.include? "s"
end