You along with your friend are standing in front of two houses. Each of those houses inhabits a family with two children.
Your friend tells you the below two facts:
1) On your left is a family that has a boy who likes accounts but the other child loves science.
2) On the right is a family with a seven-year-old boy and a newborn baby.
You ask him, "Does either of the family have a girl?"
To this, he replies, "I am not quite sure. But can you guess that? If you are right, I will give you $500."
Which family do you think is likely to have a girl?
You enter your friend's room. He is not in his room. Although you see that on the bed there are two dogs, five cats, two giraffes and three pigs. Also, a couple of chickens and ducks are flying in the room.
Calculate the number of legs standing on the floor.
A man desired to get into his work building, however he had forgotten his code.
However, he did recollect five pieces of information
* Fifth number + Third number = 14
* The fourth number is one more than the second number.
* The first number is one less than twice the second number.
* The second number and the third number equals 10.
* The sum of all five numbers is 30.