|
Develop a Java program which; given the width, length and depth (in metres), of a swimming pool determines and outputs: (a) the volume in litres, and (b) time in hours to fill the swimming pool. Assume a rate of flow into the pool is 2.5 litres per second. Note: 1 litre = 1000 cubic centimetres, therefore 10 litres = 0.01 cubic metre, hence 1 metre = 1000 litres (Figure 1). |
Figure 1: Swimming pool geometry |
Your solution should comprise the following:
Marks will be awarded for:
See also notes on practicals and course work for general guidance on the presentation of work, the COMP553 marking scheme and late submission policy.
Created and maintained by Frans Coenen. Last updated 22 October 2001