View Full Version : Im stumped please help
07-24-2009, 01:17 AM
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.
07-24-2009, 01:22 AM
Welcome to CodingForums.
1.5) No homework assignments - Do not post your entire homework assignment and request that other members do it for you. This is considered cheating, and your thread may even be used by your school to prove your guilt. Now, you may ask for advice or help on a specific aspect of your assignment that you're having trouble with. Use common sense as far as what's acceptable in terms of soliciting help with homework assignments.
Now it doesn't sound like you are asking someone to do the whole thing for you but you need to ask us specific questions so that we can help you solve the assignment.
I personally would pick the first two programs out of the four, they would be the easiest to do.
Develop the steps of what you are going to need to do to solve each program. This doesn't require actual coding. Think about how you would solve it if you didn't have a computer program.
07-24-2009, 01:51 AM
I too would chose the first two...
edit: sorry oracleguy...was that too much info I posted. I'll keep it in mind for next time.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.