In deep water associates operate a business that offers a variety of services to customers who own swimming pools, including cleaning and filling pools. Create pool class that calculates the price of a service call. The price includes a set $75 fee for cleaning plus an additional fee based on the amount of time it will take to fill a customer's pool with water. Table below provides the necessary parameters for estimating the price (based on the fill-up time) for a pool. Pool class should have methods to calculate volume, capsity and time taken of filling up. Write swimming class that prompts that user for the length, width, and depth of a pool and calculates the service and fill-up price.
TABLE Parameter Explanation Fee for cleaning $75 Pool volume in cubic feet Length* width*average depth, all in feet Gallons per cubic foot 7.5 Pool capacity in gallons Volume * gallons per cubic foot Rate of flow 50 gallons per minute Minutes per hour 60 Fee per hour for filling $8