Write a program that prompt for and reads a double value


Question: Write a program that prompt for and reads a double value representing a monetary amount. Then determine the fewest number of each bill and coin needed to represent that amount, starting with the highest (assume that a ten dollar bill is the maximum size needed). For example,if the value entered is 47.63(fortyseven dollars and sixty three cents), then the program should print the equivalent amount as:4 dollar bills1 five dollar bills2 one dollar bills2 quarters1 dimes0 nickles3 pennies.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that prompt for and reads a double value
Reference No:- TGS02272054

Expected delivery within 24 Hours