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 |
how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...
What are the three constants used in c?
how to go with this?
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?
how to sort two array of characters and make a new array of characters.
write a program to sort the elements in a given array in c language
If errno contains a nonzero number, is there an error?
What is the purpose of void pointer?
Write a function in c to find the area of a triangle whose length of three sides is given.
what does static variable mean?
How can I rethow can I return a sequence of random numbers which dont repeat at all?