Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
A babysitter takes care of 20 kids. When taking care of all the kids she gets paid $50 per kid. However, for every $5 more she...Asked by Dom
A babysitter takes care of 20 kids. When taking care of all the kids she gets paid $50 per kid. However, for every $5 more she charges, a kid leaves. How many kids should she babysit to max her profit?
I want to write a code that asks user to enter the charge per kid when taking care of all the kids, the increase in charge that causes a kid to leave, and an output that is the number of kids to babysit to max profit and what the profit would be at that number of kids. I want this done for a vba macro code.
I want to write a code that asks user to enter the charge per kid when taking care of all the kids, the increase in charge that causes a kid to leave, and an output that is the number of kids to babysit to max profit and what the profit would be at that number of kids. I want this done for a vba macro code.
Answers
Answered by
MathMate
I suggest you give it a try and post any difficulties you encounter.
Programming is not as hard as it seems once you get started.
Programming is not as hard as it seems once you get started.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.