Create the logic for a program that continually prompts the user for a certain number of dollars until the user enters 0. Pass each amount entered to a conversion method that displays a breakdown of the amount passed into the least of invoices; in other words, the method calculates the number of 20, 10, 5 and 1 as dollars needed = 1
loop while dollars > 0
bills = breakdown (dollars)
end loop
breakdown(n)
twenties = int(n/20)
n -= twenties
tens = int(n/10)
n -= tens
five = int(n/5)
n -= five
ones = n
back (twenty, tens, five, ones) oops. The stages of decomposition must be
n -= twenties*20
and so on for the other invoices.
