a small confectioner bought a certain number of pastries flavoured pineapple, mango and black-forest from the bakery, giving for each pastry as many rupees as there were pastry of that kind; altogether he bought 23 pastries and spent rs 211; find the number of each kind of pastry that he bought, if mango pastry are cheaper than pineapple pastry and dearer than black-forest pastry.
Answers
Answered by
0
Let the number of pineapple, mango and black-forest pastries be p, m and b respectively.
Given, p+m+b=23 -------- (i)
p2+m2+b2=211 -------- (ii)
From equations (i) and (ii), we get:
p = 11, m = 9 and m = 3
Similar questions