What is error this on code?


#1

print"your last name"
last_name=gets.chomp
print"your city"
city=gets.chomp
print"your state"
state=gets.chomp
what things ı remember that code?


#2

Could you post:

  • a link to the exercise that you are working on
  • the error message that you are seeing

#3


#4

It sounds like the exercise is looking for 4 variables and so far you only have 3.


#5

but it said three variables cunsor..example last_name,city and state =)


#6

Yes, but you should be adding those to your already existing code for first_name.


#7


#8

thank you about your answers =)