Wree a progrart with total change amount as an integer inpot, and output the change using the fewest coing, one coin typ
Posted: Thu Jul 14, 2022 2:18 pm
Wree a progrart with total change amount as an integer inpot, and output the change using the fewest coing, one coin type per line The coin types are Doliars Quarters. Dimes, Nickels, and Pennies. Use singular and plural coin narnes as appropriate, like 1 Pency vi. 2 Pentinies. Ex if the input is 0. (or lens than 0), the output is: Ho etienge Ex if the input is 45 the output is 1 Ouarter 2 oines \begin{tabular}{l|l} Lax & 3131 LAR Exact change \end{tabular} 0/10