Number 2


First, we should print a statement to prompt the user for input, then set that input to a variable using gets.chomp.

Use print to ask the user for input.
Declare a variable called user_input and set it equal to the user's input using gets.chomp

IT asks for this and every time I do it I get this., Make sure to use the print keyword to print a prompt for the user.
(ruby):1: syntax error, unexpected tIDENTIFIER, expecting $end
"I like food"user_input=gets.chomp


From the error messages I would conclude there is a missing print keyword:

print "Please enter some text"
user_input = gets.chomp