I received an error message stating that I haven't added key-value pairs to the frequencies. I have the following code:
puts "How many licks does it take to get to the Tootsie Roll center of a tootsie pop?"
text = gets.chomp
words = text.split (" ")
frequencies = Hash.new(0)
words.each do |word|
What am I doing wrong? What do I need to do?
Replace this line with your code.