There are 2 empty jars of 5 and 3 liters capacity. And a
river is flowing besides. I want to measure 4 liters of
wanter using these 2 jars. How do you do this?

Answer Posted / guest

First fill up the 5 liters jar and start filling 3 liters
jar. so now second jar has 3 liters and first jar has 2
liters. Now again fill 5 liters fully and to complete
second jar 1 liter is needed. So, put water in second jar
from first jar. so, 3 liters jar is full now. And first jar
has 4 liters water.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in oop?

679


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1939


What is multilevel inheritance?

825


What is interface? When and where is it used?

1755


What is abstract class in oop?

614






Are polymorphisms mutations?

796


Explain the advantages of inheritance.

757


What is pure oop?

685


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1806


What is the types of inheritance?

677


What are oops functions?

663


What is the importance of oop?

698


Which type does string inherit from?

707


What is overriding vs overloading?

667


What does no cap mean?

677