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 / arun kumar yadav

fill 3 liter jar and put it in 5 liter jar two times then 1 liter left in 3 liter jar

empty 5 liter jar and put left of 3 liter jar and again fill 3liter jar and put it in 5 liter jar

now 5 liter jar contain 4 liter

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Plese get me a perfect C++ program for railway/airway reservation with all details.

3429


What is destructor give example?

604


What is encapsulation with example?

578


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1541


What is abstraction oop?

625






What is the use of oops?

621


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2168


Why interface is used?

553


What do you mean by abstraction?

616


What is overloading in oop?

577


What is pure oop?

597


What are the three main types of variables?

600


What is difference between multiple inheritance and multilevel inheritance?

603


What is the diamond problem in inheritance?

579


What is ambiguity in inheritance?

625