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
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 |
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 |
what danger and problems are there in attemping to forge links between database kept by different business organizations?
Student of NIIT persuing BSC(IT), are eligible to take admission in management colleges through cat...
number which when divide by 49 leave 32 as the reminder and number divide by 7 what was the remainder
Multiply all the integers from -4 to +4. The product obtained is
Hello friends, Can someone provide me a link to RS Aggarwal Verbal and Non Verbal reasoning book? Thanks,
all cat related question
a black hole is a body in the space which does not allow any radiation to come out. this is due to its
plz vote here for ssc cgl tier 2 2011 cutt off marks http://ssccgl.blogspot.com/
find the common ration of 2:3 and 4:5 ?
what is the height of patent cylinder?
write a progrram in c find out gretest num among five num without using if else statement ,switch case,nd control statement
who said , " give me somewhere to stand and i will move the world"