I have attached my current source code to this message. It is in .java format.
Here is a brief description of my problem:
I have a program which accepts input for a Purchase Price, an Amount Tendered, and then displays the Change Due. Also, it must display the number of dollars, quarters, dimes, nickels, and pennies. The input is complete and I can calculate the Change Due, but I cannot figure out how to calculate each piece of change individually.
Note: The output is not in the code, but I know how to properly write it, so I won't need any help with output
Thanks in advance for any help:
Also, here is the look my application is to have:
Purchase Price: $ ________ (completed)
Amount Tendered: $ ________ (completed)
Your change is: $ ________ (completed)
__ one dollar bill (s)
__ quarter (s)
__ dimes (s)
__ nickel (s)
__ penn (y/ies)
Thank you for your business. Come back soon. (completed)