Infosys
Company
Logical Reasoning
General Mental Ability
One person went to market to purchase three varieties of chocolates. He had purchased 20 items with 20 cents. Fudges are available at 4 cents each, chaco bars are available at 4 for a penny and gum pints are available at 2 a penny. How many of each item he had purchased.
Read Solution (Total 2)
-
- x fudgets,y chaco bars and z gum pints ( Note : penny is nothing but cent)
fudgets cost 4x cents
chaco bars costs .25y
gum pints costs .5z
x+y+z = 20
4x+.25y+.5z= 20
So x can be 4 or 3 or 2 or 1
if x = 4 then .25y +.5z = 4 i.e y + 2z = 16
so y/2 + z = 8
then y = 2 or 4 or 6 or 8 or 10 or 12 or 14 also z = 7 or 6 or 5 or 4 or 3 or 2 or 1 respectively
in none of the case y + z = 16 (i.e x+y+z= 20)
so if x = 3 then .25y +.5z = 8 i.e y + 2z = 32
so y/2 + z = 16
then y = 2 or 4 or 6 or 8 or 10 or 12 or 14 ....also z = 15 or 14 or 13 or 12 or ...
but y = 2, z = 15 will give y+z = 17 i.e x+y+z = 20
So answer x = 3, y = 2, z = 15 - 13 years agoHelpfull: Yes(3) No(0)
- Number of Fudges = 3, chaco bars = 2, gum pints = 15
- 14 years agoHelpfull: Yes(2) No(2)
Infosys Other Question