we have a 3litres jug and a 5 litres jug and no measures on
them. using these two jugs how can we measure 4 litres of water?
Answers were Sorted based on User's Feedback
Answer / money
we have 3 liter jug and 5 lit..
first 5 liter with full water.and drop water into 3 liter
jug. remain 2 liter water in 5 liter capcity jug.
step 2 : drop 3 liter water in another container.
3 liter jug is empty and after then 2 liter from 5
liter jug into 3 liter jug. now we have 2 liter water in 3
liter capicity jug and 5 liter jug is empty.
step 3: take water with full 5 liter jug. pour the one liter
into 3 liter jug which have already two liter .u will have 4
liter in 5 liter jug cacpity.
| Is This Answer Correct ? | 25 Yes | 3 No |
Answer / gowthaman
take a 10 lits water by two times on the 5 lit jug and put on some intermediate,then u r having 3 lit jug so u cud pour the 6 LIT wATER FROM INTERMEDIATE by measuring it two times and now ur having 4 lit water
| Is This Answer Correct ? | 0 Yes | 1 No |
what does ‘segmentation violation’ mean?
What is difference between static and global variable in c?
write a program to display & create a rational number
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
Which header file is essential for using strcmp function?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Can we change the value of #define in c?
for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
second highest number in a given set of numbers
how do you redirect stdout value from a program to a file?
What is assignment operator?