ok i am writing a program that ask for the amount total and amount tender.
then i'm supposed to calculate a combined amount of coins and dollars to make up the change amount.
i know how to split out the dollar amount, but i'm stuck on how to calculate the combined amount of coins.
i can't use the if/else commands.
can somebody please give me a hint??? you don't have to write any code for me, but just help me on the math part.