Q:

How do I displaying strings?

How can I get this code to work? I can't make it puts "+" or puts "]":
puts " Enter an option:"
puts "------------------"
puts "1] Learn to FOIL"
puts "2] Learn to factor"
puts "3] Practice!!!!!!!"

input = gets.chomp.gsub[" ", ""]
if input == 1 then
  puts "The FOIL method is used to put together the simplified terms of a polynomial."
  puts "To FOIL, you take the first term of the first set and multiply it by the first"
  puts "and second terms of the second set. Example:"
  puts "   _______"
  puts "  /    \  \"
  puts "[5x+2][10x+4]"
  puts " equals [50x²+20x]"
  puts " "
  puts " WAIT......"
  http://www.youtube.com/watch?v=dQw4w9WgXcQ
else 
  puts "NOT READY!!!!!!!"
end

A:

You need an editor with a syntax highlighter, so you can tell your string isn't being closed:
puts "  /    \  \"

Your final " is being escaped by a \, meaning the string isn't being closed.  You need to escape the backslash itself, with another backslash:
puts "  /    \  \\"

