Sunil wants to spend Rs.200 on two types of sweets, costing Rs.7 and Rs.10 respectively

Sunil wants to spend Rs.200 on two types of sweets, costing Rs.7 and Rs.10 respectively. What is the maximum number of sweets he can get so that no money is left over?

  1. 25
  2. 26
  3. 27
  4. 28

Answer

Let the number of sweets costing Rs. 7 be x and the number of sweets costing Rs.10 be y.

7x + 10y = 200

You have to find the maximum value of x+y.

Common multiples of 7 and 10 = 70, 140, 210, and so on.

140 is the maximum which is less than 200.

So, x = 20 and y = 6

x + y = 26

The correct option is B.