I’m not so much as stuck but curious with something, I’m putting two last names with the method .capitalize
so when I follow the code and enter the last name, “palma monteñez” at the end of the program it returns, “Palm montañez” how do I capitialize the second name? (I think I would be correct if I followed the same syntax if i wanted the third name, fourth, etc.)
Thank you very much for your help
print "What's your last name?" last_name = gets.chomp last_name1 = last_name.capitalize last_name.capitalize!