Why is the printf statement for number of pennies printing off when casting the double variable to an int?
I have a trivial program that I wrote to calculate the number of quarters, dimes, nickels, and pennies in an amount entered in (less than $1.00).