Urgent need ASAP
Develop an algorithm which reads a dollar and cent value, and returns the monetary breakdown from that amount. For example:

$155.90 will return:

$100 1
$50 1
$20
$10
$5 1
$2
$1
Half dollar: 1
Quarters: 1
Dimes 1
Nickel 1
Pennies

Respuesta :

Answer:

{3 quarters, 1 dime, 2 nickels, 5 pennies}  or  

 {3 quarters, 2 dimes, 1 nickel, 5 pennies}

Explanation:

You need change for a nickel, so 5 pennies.

You need change for a dime, so 1 more nickel.

You need change for a quarter, so a dime and a nickel, or two dimes more.

You need change for $1, so 3 more quarters.

You need a minimum of 11 coins. You can use 2 nickels and a dime, or 2 dimes and a nickel to get the values between 15¢ and 25¢. The latter gives you the ability to continue up to $1.05.

 pls mark brainliest