\n" );
document.write( "It's not a trick question and it can be solved.
\n" );
document.write( "Inlet pipe takes 10 hours to fill tank.
\n" );
document.write( "So in one hour, it fills 1/10 of the tank
\n" );
document.write( "Outlet pipe takes 3 times as long i.e. 3* 10 = 30 hours to empty tank.
\n" );
document.write( "So in one hour, it empties 1/30 of the tank
\n" );
document.write( "If both are open, in one hour
\n" );
document.write( "1/10 of the tank is filled and 1/30 is emptied.
\n" );
document.write( "So volume of water remaining in tank = 1/10 - 1/30 = 2/30 = 1/15 of the tank.
\n" );
document.write( "That is, if both the inlet and outlet are open, 1/15 of the tank gets filled
\n" );
document.write( "every hour.
\n" );
document.write( "So time taken to fill the whole tank = 15 hours!\r
\n" );
document.write( "\n" );
document.write( "Hope you got it :)\r
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "