What Wrong? [SOLVED]


#1

What is the problem in my code?

print "First name:"
first_name=gets.chomp

if first_name=Roy
print "Your name is Roy!"
end


#2

Hi you should put Roy between " " like that if first_name == "Roy" and the = should be "=="


#3

Ok, That helped alot. Thx m8.