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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function and its example?

628


What is the purpose of ftell?

601


Which built-in library function can be used to match a patter from the string?

747


Write a code to determine the total number of stops an elevator would take to serve N number of people.

728


in iso what are the common technological language?

1637






What is the difference between test design and test case design?

1570


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1498


What does struct node * mean?

602


all c language question

1875


Explain the use of keyword 'register' with respect to variables.

590


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5806


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2000


Write a program to check whether a number is prime or not using c?

576


What does sizeof return c?

605


What does c value mean?

629