hi there. i really need help in writing code for below case
the output should be like
how much change is owed? 0.32 (0.32 which is user input in dollar)
Output:4
Thought process:
quater + nickel + penny +penny =$0.32.
How to write code for this ???
Todo:
Prompt user for a monetary amount
At each ‘step,’ return the biggest
coin possible
Keep track of:
1. how many coins to be returned
2. amount to be returned
Print the final amount of coins
Seriously, i dont know how to proceed.
someone plz help