Wednesday
May 27, 2015

Homework Help: Vba

Posted by Dom on Monday, July 8, 2013 at 6:43am.

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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Members