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 ?    12 Yes 5 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 ?    0 Yes 0 No

Post New Answer




More CAT Interview Questions

kvb bank po model qustion paper send to me

1 Answers   Karur Vysya Bank KVB,


how can i prepare or CAT

0 Answers  


Who is the present attorney General of India?

2 Answers  


Hi all.. Im going to attend the Bank Probationary Officers Exam. So pls suggest me the best book for the preperation and practise as well.. Thank you

0 Answers   State Bank Of India SBI,


Barak Hussain Obama belongs to which politician parties?

2 Answers  






2,10,12,68,30....

1 Answers   SSPL, Pals Solutions,


I am from bapatla engineering college,bapatla.Is work experience is neccesary to get admission in CAT IIM's

1 Answers  


a black hole is a body in the space which does not allow any radiation to come out. this is due to its

1 Answers  


how can i prepare for CAT exam by using inter-net ,myself at home?

5 Answers  


there is a institute of symbosis university wherein children of army personel have reserved seats. pls confirm which one is it and the examination schdule

0 Answers  


A father had 11 children's, He placed 11 Apples in a bowl and each child taken one apple but there is One Apple left in the Bowl ? How ?

2 Answers   CAT,


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

1 Answers  






Categories