// Lab1, problem 1, version 1. class Pool1 { final static int FlowRate = 70; final static float Capacity = 7.48f; public static void main (String[] args) { int length = 50, width = 25, depth = 5; float volume, poolCapacity, timeInMin; volume = length * width * depth; poolCapacity = Capacity * volume; timeInMin = poolCapacity / FlowRate; System.out.println ("The time to fill the pool is " + timeInMin + " minutes."); } }