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 ?    16 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 ?    1 Yes 0 No

Post New Answer




More CAT Interview Questions

plz vote here for ssc cgl tier 2 2011 cutt off marks http://ssccgl.blogspot.com/

1 Answers  


Dear sir i need central bank of india clerical grade last three year question papers. Kindly forward to my email id sandeep.reddy0021@gmail.com

0 Answers   Central Bank of India,


please send model question papers fo BANK PO EXAM QUESTION PAPERS

49 Answers   State Bank Of India SBI, Bank Of India, ABC, Oriental Bank Of Commerce, Andhra Bank, Indian Bank, ICICI, Indian Overseas Bank, SMC, Banking, BSRB, UCO Bank, Punjab National Bank,


. ISRO has launched successfully ten satellites through PSLV-C9 on - 15th March,2008 30th March,2008 28th April,2008 4th May,2008

4 Answers   State Bank Of India SBI, RRB,


if cost price of 10 orange is equal to 1 kg of apple and cost price of 1 kg of apple is equal to 12 apple and sales price of 15 orange is equal to 1 kg of apple then sales price of 1 kg will be equal to how many apples

0 Answers  






in 100m race, A beats B by 10m and B beats C by 20m.By how much distance A beats C.

5 Answers   CAT, NET,


The characters of the c program to receive input from and send to function, this function will check if the characters between letters a to z as y is the output characters to the main function and otherwise, return to the main function of the y characters.

0 Answers  


what danger and problems are there in attemping to forge links between database kept by different business organizations?

0 Answers  


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  


Differentiate between pay grade and broading.

0 Answers  


Write a c programme to find the product of elements in one dimensionl array?

0 Answers  


Student of NIIT persuing BSC(IT), are eligible to take admission in management colleges through cat...

1 Answers   MAHINDRA, NIIT,






Categories