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

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,


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

0 Answers   IIPM,


Bird is flying 120 km/hr between B to R. Two trains at B to R at 60 kmph. The distance traveled by the bird before it is killed?

0 Answers  


A software engineer can code on following terms , He would take 5 minutes to think 100 lines & 10 minutes to code these 100 lines. And after every 10 minutes he would take a break of 5 minutes. Find out the total numbers lines coded in 60 minutes.

3 Answers  


what is Data replication and why is considered important for large database today?

1 Answers  






please send model question papers fo BANK PO EXAM QUESTION PAPERS

6 Answers   Bank of Baroda, Oriental Bank Of Commerce,


what is site for group2 duplicate halltickete

0 Answers  


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

5 Answers   Ignou,


Find the smallest number which when divided by 5,6,8 leaves remainder 2?

5 Answers   TCS,


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  


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,


previous rrb exams model papers with soulutions in telugu

4 Answers   HTC, RRB,


Categories