subject

Swimming pool management – (c++)in this programming exercise you will create a simple swimming management program according to the following customer specifications: - write the definition of a class swimmingpool, to implement the properties and functions of a swimming pool. the pool must be a rectangular shaped of any dimension. (20% the class should have the instant variables to store the length (in feet), width (in feet), depth (in feet), amount (in cubic feet), of water in the pool, the rate (in gallons / minute), at which the water is draining from the pool.- must add the swimmingpool constructor(s) and destructor member functions. (10%)- add appropriate accessor and mutator member functions.(10%)- add member functions to do the following: (40% determine the amount of water needed to fill an empty or partially filled determine the time needed to completely or partially fill or empty the pool, and add or drain water for a specific amount of allow adding or subtracting one or more pools (add by adding lenghs, widths and depths, rates and amount – subtract by subtracting lengths, widths, and depths, rates and amount).add a static property (data member) to count the number of swimming pools created and static member function to report this count.(20%)note: the amount of gallons in a cubic feet is 7. use the following driver program to test your class:

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, 105001964
Write a loop that reads positive integers from standard input and that terminates when it reads an integer that is not positive. after the loop terminates, it prints out, on a line by itself and separated by spaces, the sum of all the even integers read, the sum of all the odd integers read, a count of the number of even integers read, and a count of the number of odd integers read, all separated by at least one space. declare any variables that are needed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system. in); is given.
Answers: 3
image
Computers and Technology, 22.06.2019 14:30, qxchung7310
The “rule of 72” is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
image
Computers and Technology, 23.06.2019 05:30, savyblue1724707
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, quintinlarrieu
Brad wants to buy flowers for his friend with 33 dollars. the daisies are 1 dollar each and the roses are 2 dollars each he buy 3 more daisies than roses how much did the roses cost
Answers: 2
You know the right answer?
Swimming pool management – (c++)in this programming exercise you will create a simple swimming manag...

Questions in other subjects: