Getting The Most Yum

Computer Science Level 3

Danny has decided to treat himself to a nice three-course dinner at a local restaurant. As he looks through the menu, he assigns every option a yumminess rating so he can get his favorites. However, when he looks in his wallet, he realizes that he won't be able to afford his favorite selection in all three of the courses (appetizer, main course, and dessert) because he only has $32.

What is the maximum sum of yumminess rating that Danny can select, and still afford to pay for dinner?

Menu and Danny's Ratings

Details and assumptions

Danny will eat one selection from each course, so he needs an appetizer, a main course, and a desert.


Problem Loading...

Note Loading...

Set Loading...