Stuck! "State"


Uploading... .>

print "What is your last name?"
last_name = gets.chomp
print "Which city are you from?"
city = gets.chomp
print "Which state/province are you from?"
state = gets.chomp


What, may I ask, is the problem?


Hello :slight_smile:

Your code is correct, but you were supposed to add this code at the end of the script (after asking user about the first name).

You simply have to add print and gets.chomp for the first name:

print "What is your first name?"
first_name = gets.chomp


Thanks, finally I am understood it)))


You're very welcome :slight_smile: