5. When and Then....I need help, im stuck!


#1




Oops, try again. It looks like your program doesn't default to printing 'I don't know that language!

I didnt find the error, someone can guide me???? thanks!


Replace this line with your code. 
puts "Hello there!"
greeting = gets.chomp

# Add your case statement below!
case greeting
when "English" then puts "Hello!"
when "French" then puts "Bonjour!"
when "German" then puts "Guten Tag!"
when "Finnish" then puts "Haloo!"
else puts "I dont know the language!"
end


#2

never mind! i write THE language instead of THAT language!!
lols


#3

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