February 19, 2017

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:

Related Questions

More Related Questions