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

DIRECTIONS for Questions 3 and 4: Answer the questions on the basis of the information given below. In an examination, there are 100 questions divided into three groups A, B and C such that each group contains at least one question. Each question in group A carries 1 mark, each question in group B carries 2 marks and each question in group C carries 3 marks. It is known that the questions in group A together carry at least 60% of the total marks. DIRECTIONS for Questions 3 and 4: Answer the questions on the basis of the information given below. In an examination, there are 100 questions divided into three groups A, B and C such that each group contains at least one question. Each question in group A carries 1 mark, each question in group B carries 2 marks and each question in group C carries 3 marks. It is known that the questions in group A together carry at least 60% of the total marks. If group B contains 23 questions, then how many questions are there in group C?

2 Answers   CAT, TCS,


what MBA exam i should appear in after doing graduation of bachelors of computer applicaions? and what other master's degree options are available after doing BCA?

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  


who said , " give me somewhere to stand and i will move the world"

1 Answers  


who is the first president of india

4 Answers  






in whose name is the one rupee currency issued in india

0 Answers  


Who was the first president of the world bank?

1 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,


please send model question papers fo BANK PO EXAM QUESTION PAPERS

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


wht is full form of EDLI

1 Answers   NIIT,


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

5 Answers   Ignou,


Please suggest me how to prepare for the Bank Probationary Officers examination. I cant go to any coaching classes, so im preparing at home..so plese tell me any tips regarding how to prepare for the exams.. thank you

0 Answers  


Categories