Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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.
    OracleGuy

  • #3
    Regular Coder BrickInTheWall's Avatar
    Join Date
    Mar 2009
    Location
    Munich, Germany
    Posts
    139
    Thanks
    1
    Thanked 13 Times in 13 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •