Question: Question 2e 0.0/1.0 point (graded) The manager isn't sure he can afford to put that many entree choices on the lunch menu and thinks it
Question 2e
0.0/1.0 point (graded)
The manager isn't sure he can afford to put that many entree choices on the lunch menu and thinks it would be cheaper for him to expand the number of sides. He wants to know how many sides he would have to offer to meet his goal of at least 365 combinations.
- Write a function that takes a number of side choices and returns the number of meal combinations possible given 6 entree choices, 3 drink choices, and a selection of 2 sides from the specified number of side choices.
- Use sapply() to apply the function to side counts ranging from 2 to 12.
What is the minimum number of side options required in order to generate more than 365 combinations?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
