1apple=5rs 20grapes=1rs 1banana=1rs no. Of fruits should be 100 and cost should be 100 how?

Answers were Sorted based on User's Feedback



1apple=5rs 20grapes=1rs 1banana=1rs no. Of fruits should be 100 and cost should be 100 how?..

Answer / sahilakhtar

cost of 1 apple =5 rupees

cost of 19 apples = 95 rupees.

cost of one banana = 1 rupees

cost of 20 grapes = 1 rupees.

cost of 80 grapes = 4 rupees

therefore, total items = 100

cost of all these items = 100 rupees.

Is This Answer Correct ?    19 Yes 8 No

1apple=5rs 20grapes=1rs 1banana=1rs no. Of fruits should be 100 and cost should be 100 how?..

Answer / jagadish

for i in range(0,20):
for j in range(0,5):
for k in range(0,100):
if i+j*20+k == 5*i + j +k==100:
print ("apples-{},grapes-{},banana-{}".format(i,j*20,k))


apples-19,grapes-80,banana-1

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More CAT Interview Questions

Why do you want to do MBA?

27 Answers   IIPM, Infosys, Wipro,


I am applying for vizag steel plant management recruitment for 2009 please can anybody send me the pattern of the written test paper

0 Answers  


Imagine that ten years from now a colleague is describing you to a new employee. What will s/he say about you that you are not known for now? How will you achieve these new skills?

0 Answers   Atos Origin,


i am preparing for gate so pls ans me how i passed this

0 Answers  


What is VDA & DA Full Form?

2 Answers   Banking, MCL,






what would be 50% of 10% of 25% of 40% of 60% of 2000?

5 Answers   Ignou,


The HCF of two nos. is 12 and their LCM is 168. If the sum of these two nos is 108, then their difference is: 1) 36, 2) 48, 3) 60, 4) 72.

2 Answers  


a number when divided by 10 leaves a reaminder 9 & when divid by 9 leaves reminder 8, when divided 8 leves remainder 7 is ?

1 Answers   Bharat Gears,


A father has three daughters find out the age of three daughters ? 1-the product of their age is 36. 2-the sum of their age is equal to your house number . 3-my eldest daughter has green eyes.

0 Answers  


Brazil is known for its production of

3 Answers  


swami ramdas guru of shivaji,what is name of arm in hand ..?

0 Answers   IIPM,


in whose name is the one rupee currency issued in india

0 Answers  


Categories