# Help Needed On A Program

Show 80 post(s) from this thread on one page
Page 4 of 4 First 1234
• 09-11-2011
This is the formula for the maximum number of steak dinners, which I linked you to on page one of this thread:

Maximum stkdinners = (budget - chkcost(guests))/(stkcost-chkcost)

What you need however, is the minimum number of guests to order the chicken dinner.

How would you suggest rearranging or changing the above equation, to get that answer?
• 09-11-2011
CommonTater
Quote:

This is the formula for the maximum number of steak dinners, which I linked you to on page one of this thread:

Maximum stkdinners = (budget - chkcost(guests))/(stkcost-chkcost)

What you need however, is the minimum number of guests to order the chicken dinner.

How would you suggest rearranging or changing the above equation, to get that answer?

Ummm... not to complicate things but wouldn't this have to be based on some kind of statistical information about who orders what across a large number of weddings? I'm aware this is just an exercise, but does it give enough information to actually solve the problem?
• 09-11-2011