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
What is function and its example?
What is the purpose of ftell?
Which built-in library function can be used to match a patter from the string?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
in iso what are the common technological language?
What is the difference between test design and test case design?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What does struct node * mean?
all c language question
Explain the use of keyword 'register' with respect to variables.
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)
.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; }
Write a program to check whether a number is prime or not using c?
What does sizeof return c?
What does c value mean?