Whats wrong


#1

print "whats your first name?"
first_name=gets.chomp
answer.capitalize!
print "what is your last name?"
last_name=gets.chomp
answer.capitalize!
print "what city are you from"
city=gets.chomp
answer.capitalize!
print "what state are you from?"
state=gets.chomp
answer.upcase!
puts your name is =#{first_name} #{last_name} and you are from #{city} #{state}


#2

@wetcow23

Hi, I noticed that you put answer.capitalize!... take this out... if you want to capitalize your responses, you have to put .capitalize! after your variables.

example:

print "What's your first name?"
first_name = gets.chomp
first_name.capitalize!

and repeated for each variable.

Hope it helps! :sunny: