Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
programming forums Java Java JSRs Mobile Certification Databases Caching Books Engineering Languages Frameworks Products This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Sheriffs:
Saloon Keepers:
Bartenders:

# equal measures

HS Thomas
Ranch Hand
Posts: 3404
A recipe calls for exactly 2 litres of liquid.
You only have 2 jugs - a 5 litre and 8 litre jug.
How do you measure 2 litres exactly ?
regards

Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Fill the 5, dump into 8.
Fill the 5, pour into 8 until 8 is full.
5 contains 2 liters.

HS Thomas
Ranch Hand
Posts: 3404

Are fireflies flies ?

regards

achit bhatnagar
Greenhorn
Posts: 8
1.fill 5 liter jug
2. transfer liquid to 8 liter jug
3.fill 5 liter jug again
4. transfer liquid to 8 liter jug ( it has only 5 liter)
5. you will have 2 liters remaining in 5 liter jug

HS Thomas
Ranch Hand
Posts: 3404

What is one twentieth of one half of one tenth of 10,000 ?
regards

HS Thomas
Ranch Hand
Posts: 3404
25 soft bodied beetles!
regards

HS Thomas
Ranch Hand
Posts: 3404
Actually, the question could have been :

Q: What is one twentieth of one half of one tenth of 10,000 fireflies?
A: 25 soft bodied beetles.

regards