|
Im stumped please help
I need to write a program to calculate the change in quarters, dimes, nickels, and pennies when any amount from 1 to 99 is entered. The program should return the minimum coins for the amount entered.
For example, if the input were 87, the output would be 3 quarters, 1 dime, and 2 pennies.
Secondly I need to write a program to find the smallest number, the largest number, and the average of any five numbers entered by the user.
AN ALGORITHM and C++ PROGRAM for both.
Last edited by Tymer; 07-24-2009 at 01:05 AM..
|