Hey can someone please help me out with this ruby program

https://www.chegg.com/homework-help/questions-and-answers/task-provided-ruby-source-code-version-food-hunter-program-required-extend-program-impleme-q50219394