Confused, please help


I was doing every thing normaly I think, but it came up with an error message that said that I had an syntax error heres the code could someone tell me what I did wrong? thanks :slight_smile:

print"What's your first name?"
print"what's your last name?"
print"what city are you from?"
print"what state/province are you from?"
PRINT "You are #{first_name} #{last_name} from #{city},#{state}


fixed it but after I did everything, it gave me this error:
undefined method `PRINT' for #


Ruby is case sensitive when it comes to method names, so PRINT has to be lowercase.


oh thanks!


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