Congratulationth>>HELP


#1

print "What is your name?"
user_input = gets.chomp
user_input.downcase!

if user_input.include? "s"
user_input.gsub!(/s/, "th")
else
print "nah"
end

puts "Hello #{user_input}"

That is my existing code. I'm not sure of what to do in the exercise. Please put me through.


#2

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