/***************************************************************************** * Outputs the number of coins, of each type, that equals the amount * * that was inputed. * * Inputed: a (amount in change) * * Outputed: q (# of quaters), d (# of dimes), n (# of nickels), * * p (# of pennies) * * Written: September 28, 2001 * * By: Ronald Roberts * *****************************************************************************/ //Program 11 - Revisied //28SEP01 #include #include #include int main() { cout<>a; q=a/25; a=a%25; d=a/10; a=a%10; n=a/5; a=a%5; p=a/1; cout<<"The number of quarters, dimes, nickels, pennies, you have are:"<