Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 3.67 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-24-2009, 12:17 AM   PM User | #1
Tymer
New to the CF scene

 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Tymer is an unknown quantity at this point
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..
Tymer is offline   Reply With Quote
Old 07-24-2009, 12:22 AM   PM User | #2
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Welcome to CodingForums.

Quote:
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.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 07-24-2009, 12:51 AM   PM User | #3
BrickInTheWall
Regular Coder

 
BrickInTheWall's Avatar
 
Join Date: Mar 2009
Location: Munich, Germany
Posts: 139
Thanks: 1
Thanked 13 Times in 13 Posts
BrickInTheWall is on a distinguished road
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.

Last edited by BrickInTheWall; 07-24-2009 at 08:52 AM.. Reason: lets not just give the answer away without them trying
BrickInTheWall is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:31 PM.


Advertisement
Log in to turn off these ads.