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

  Calculate the average rainfall for three months

Write a program that asks the user to enter five floating-point numbers. The program should create a file and save all five numbers to the file.

  Develop project to calculate checking account balance

Develop project to calculate your checking account balance. Form: Include radio buttons to indicate the type of transaction: deposit, check, or service charge.

  Pseudocode to create thread-safe countdownevent by locks

Write pseudocode to implement a thread-safe CountdownEvent using locks and condition variables by implementing the following methods (lists 4 methods) and then "implement a Barrier using a CountdownEvent.

  Probability line is executed in nth iteration of for loop

What is the probability that line is executed during the nth iteration of the for loop? What is the exact expected number of executions of line?

  User defined function to calculate average of three scores

A user defined function that will calculate and display the average of the 3 scores that remain after dropping the highest and lowest scores the performer received.

  Pseudocode to read in data file containing student names

Read in a data file containing student names, ID number, and gender into an array. Print the contents of each record using the array.

  Computing first seven values of fibonacci number sequence

Write a program that uses a loop to compute the first seven values of the Fibonacci number sequence.

  Ways to ensure that website is easy to navigate

A good practice would be to spread the content out among several pages. What are some ways to ensure that your website is easy to navigate?

  Use one-dimensional array to read in twenty numbers

Use the one-dimensional array to solve problem: Read in 20 numbers, each of which is between 10 and 100. As each number is read, print it only if it is not duplicate of number which has already been read.

  Create new program which prompts user for numbers

Create a new program whihc prompts a user for numbers and determines total revenue using following formula: Total Revenue = Price * Quantity.

  Write down a custom error handling javascript function

write a custom error handling javascript function called processerrors that handles a custom error by assigning it to

  Prepare a mips program to perform the operations

prepare a MIPS program to perform the operations - Write and debug a MIPS program that performs the  operations.

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