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 / sonia
fill 5 liters jar and pour in 3 liters------ now you have 3 in 3 liters and 2 in 5 liters.
pour away the 3 in 3 liters jar and transfer the 2 in the now empty 3 liters.
Fill 5 liters jar again and pour in 3 liters jar----- Now you have 1 from 5 liters and 2 that were in 3 liters jar already. this gives you 4 in the 5 liters jar.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does oop mean in snapchat?
Is react oop?
State what is encapsulation and friend function?
How can you overcome the diamond problem in inheritance?
what are the ways in which a constructors can be called?
is there any choice in opting subjects like 4 out of 7
Can we create object of interface?
How many human genes are polymorphic?
what is difference between class template and template class?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< How to handle exception in c++,
For example in a functions i am assigning memory to some
variables and also in next instructions in am dividing one
variable also.
If this functions generates a error while allocating memory
to those variable and also while dividing the variable if i
divide by zero then catch block how it will identify that
this error has cone from perticular instruction Why do we use oops? What does and I oop mean in text? What is the difference between abstraction and polymorphism? There are two base class B1,B2 and there is one class D
which is derived from both classes,
Explain the flow of calling constructors and destructors
when an object of derived class is instantiated.