40 ways.
10+10+5+2=27
9
The simplest way is 2*10p
7. If you allow for change, an infinite number of ways; eg 1 x 10p with 1 x 2p change or 1 x 10p with 2 x 1p change, etc.
how many ways to make 25p using 1p 2p 5p 10p 20 coins
There are 10 ways.
21 ways
150 10p coins.
There are 47 ways using 5p, 10p, 20p and 50p.
40 ways.
To make 15p using 1p, 2p, 5p, and 10p coins, we can use a dynamic programming approach. We create an array of size 16 (0 to 15) to store the number of ways to make each value from 0 to 15p. We initialize the first element to 1 (as there is only one way to make 0p), and then iterate through each coin denomination, updating the array values based on the current coin being used. Finally, the value at index 15 in the array will give us the total number of ways to make 15p using the given coins, which is 6 ways.
5p+5p
There are 201 ways.
There are 47 ways.
10
10+10+5+2=27