Math, asked by samamisbah2008, 3 months ago

A bag contains £20.14 consisting of 50p, 20p, 10p, 5p, 2p, 1p coins only. If there are at least 14 each of these coins in the bag, what is the least possible number of coins in the bag?

Answers

Answered by tripathiakshita48
0

Answer:

The least possible number of coins in the bag = 43

Step-by-step explanation:

From the above question,

They have given :

A bag contains £20.14 consisting of 50p, 20p, 10p, 5p, 2p, 1p coins only. If there are at least 14 each of these coins in the bag

Here we have to find the least possible number of coins in the bag.

Given unlimited number of coins of two denomination X and Y. Also given bags with capacity of N rupees, independent of number of coins. The task is to find the minimum number of bags such that each bag contains the same amount of rupees and sum of all the bags amount is at least M.

Example :

Input : M = 27, N = 12, X = 2, Y = 5.

Output : 3

We put 2 coins of X, 1 coin of Y in each bag.

So we have 9 rupees in each bag and we need

at least 3 bags (Note that 27/9 = 3). There

is no way to obtain sum with lesser number

of bags.

Input : M = 45, N = 9, X = 4, Y = 5.

Output : 5

20.14 = 0.5 *40 + 0.1 * 1 + 0.02 * 2

         = 40 + 1 + 2 = 43

For more such related questions : https://brainly.in/question/38023553

#SPJ1

Similar questions