The Barking Lot Solution

Description: The Barking Lot is a dog boarding facility. It provides boarding for any number of days and additional services such as grooming and walking. The Barking Lot currently has three employees, a list of 40 dog clients, and room to board eight dogs at any one time. One required program must be able to estimate profits for a day. The facility can board eight dogs at a time; it charges $25 a day for dogs that weigh more than 50 pounds and $20 a day for smaller dogs. The facility’s expenses include $2 per day per dog for food (no matter the size of the dog), and $30 per day for utilities. This program allows a user to enter the number of large dogs boarded; assuming that the rest are small dogs and that the facility is full. The output is the total revenue collected for the day, total expenses, and the difference. The user may request an unlimited number of profit estimates at a time.
Powered by