Write a program that must be able to estimate profits

Assignment Help Programming Languages
Reference no: EM13763339

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. implement the program that allows a user to enter the number of large dogs boarded; assume that the rest are small dogs and that the facility is full. Output is the total revenue collected for the day, total expenses, and the difference. Allow the user to request an unlimited number of profit estimates at a time.

Reference no: EM13763339

Questions Cloud

Write three hundred words essay about the commercialization : Write a 300 words essay about the commercialization. Describe your position on commercialization about the media and defend your position (use examples).
Self-sufficient and avoid all the hassles of city life : Why do cities exist? Why don't we all just live on large lots of land in Texas/rural Ontario/etc? We could be self-sufficient and avoid all the hassles of city life.
Differences between traditional and derivative instruments : What are the differences between traditional and derivative instruments? Why do companies use derivative instruments? Are derivatives a good investment? Explain why or why not.
Discuss the domestic violence act : 'Discuss the in which the Domestic violence act 1996, as amended, has significantly improved protection against domestic violence
Write a program that must be able to estimate profits : 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 ..
Problems related to rectangle : Use expressions for the length and width to write an inequality for the perimeter, on the basis of the given information.
How does a planner determine a theme and subsequently infuse : How does a planner determine a theme and subsequently infuse the theme through all components of an event?
Terms of z-scores and areas under the normal curve : Jack weighs 160 pounds and his sister weighs 110 pounds. If themean weight for men his age is 175 with a standard deviation of 14pounds and the mean weight for women is 145 with a standarddeviation of 10 pounds, determine whose weight is closer to "a..
What is the purpose of the function header : Please note that the program must be zipped and contain all necessary files, not just the code. I will need to open the full program and test it in VISUAL BASIC C++.

Reviews

Write a Review

Programming Languages Questions & Answers

  On a 3 x 4 chessboard there are 3 black knights (b b b)

On a 3 x 4 chessboard there are 3 black knights (B B B) and 3 white knights (W W W). Exchange knights in the minimum number of turns (hint: use graph representation).

  Program to assign anonymous array of double value

Write c++ statements to permit the user to enter n, number of values to be processed; then assign an anonymous array of n double values, storing its address in doublPtr.

  Write simple program to prompt user for gross salary

Write simple program which will prompt user for his or her gross salary. Your program than will display net salary whereby 11.00% of the gross salary is deducted for EPF

  Application to simulate functionality of gas-visual basic

Design the application which simulates functionality of gas pump. User enters number of gallons to buy and clicks desired grade (regular special super). Using Visual Basic.

  Write class which accepts user-s hourly rate of pay

Write down class which accepts the user's hourly rate of pay and number of hours worked. Display user's gross pay, withholding tax (15% of gross pay).

  Advantageous benefits of using object-oriented design

Select an organization that you are familiar with and determine the most advantageous benefits of using object-oriented design in this organization and state why

  Write down the application which makes a quiz

Write down the application which makes a quiz which comprises at least three questions about hobby, music, or any other personal interest.

  Develop two packages to accept information

Develop two packages, package1 comprises two classes manager and clerk.both classes having method to accept corresponding information.packages.

  Approach for building site in-house with existing staff

Web site Consider your options for building the site in-house with existing staff, or outsourcing the entire operation. Decide which strategy you believe is in your company's best interest and create a brief presentation outlining your position.

  Prompt user to enter two integer and read them from keyboard

Create a loop, and inside of it replace the larger integer with the difference between the larger integer and the smaller integer (if the integers are equal you may choose either one as the "larger")

  What is the output of the following program

What is the output of the following program and please explain it how did you get the answer or the output and the reason. void f(int i ) { if ( i = 4 ll i = 5 )/ Line 1 { cout

  Write code for member method expand

Write code for the member method expand. To keep the code simple, you may assume that the array element has enough capacity and does not need to be resized.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd