> > Hi experts,

> >

> > How to solve this problem through programing

> >

> > Two taps A and B together filled a swimming pool in

> > 15 hours. Tap A & B are kept open for 12 hours and

> > then the tap B is closed. It takes another 8 hours

> > to fill swimming pool. How may hours does each tap

> > required to fill swimming pool ?.

> >

> > Thanks in advance.

>

> Here we go using my Algebra 30 years ago (LOL)

>

>

**15A + 15B = Full**

> 20A + 12B = Full

> > So after using

**substitution**, I can derive:

>

>

**A = (Full - 15B) / 15**

> > Substitute the value of A in 20A + 12B = Full, you will get:

>

>

**24B = Full or**

> B = Full / 24>

> Then substitute B in the formula 20A + 12B = Full, you will get:

>

>

**40A = Full**

> > So it will take 40 hours to Tap A to fill the pool on its own, while it will take only 24 hours for Tap B to fill it.

>

>

http://www.digisoftph.com/Wrong, the water company is on strike. Besides, if both taps get water from same source flow-rate of each is different when the taps are running at the same time compared to when each is running alone. Also consider the leaks. Also, have you considered the amount to fill the vfp form(s) - even just to wet ?

.