Please help?

so not to sure where im going wrong here ive followed all the instructions down to the letter, including capitals exclamation marks i have no idea whats going wrong, when prompted for my input i type “display” to simply display my movie, im probably making a silly mistake any help would be greatly appreciated, heres my code

movies = {
click: 4
}
puts “What would you like to do?”
puts “-- Type ‘add’ to add a movie.”
puts “-- Type ‘update’ to update a movie.”
puts “-- Type ‘display’ to display all movies.”
puts “-- Type ‘delete’ to delete a movie.”
choice = gets.chomp
case choice
when “add”
puts “Added!”
when “update”
puts “Updated!”
when “display”
puts “Movies!”
when “delete”
puts “Deleted!”
else
puts “Error!”
end
ive also tried putting “end” twice as i noticed some exercises require that (Not to sure why as no explanation has been given)

update… its no longer accepting any user input at all its now displaying “error” even though it wont let me input anything at all

lol thanks for the help guys

Please post a link to this exercise. I’ve moved the topic into Platform Problems and the folks in the back will need the exact page so they can locate the problem. Thanks.

1 Like

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