Prompting redux


I don't know what I'm doing wrong

Prompting: Redux!

here, this worked for me:

movies = {
Star_Wars_7: 10000000,
Star_Wars_6: 1000,
Star_Wars_3: 1000,
Star_Wars_1: -100
puts "What would you like to do?"
choice = gets.chomp
case choice
when "add"
puts "What is the title?"
title = gets.chomp
puts "And how would you rate it? -100 to 1000000000."
rating = gets.chomp
movies[title] = rating
puts "Added #{title} with a rating of #{rating}"
when "update"
puts "Updated!"
when "display"
puts "Movies!"
when "delete"
puts "Deleted!"
puts "Error!"

hope this helps