C++ code

Denomination for given amount

Page 1 of 1

1 Replies - 1916 Views - Last Post: 10 October 2009 - 07:08 AM Rate Topic: -----

#1 vinodjames   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-October 09

C++ code

Post icon  Posted 10 October 2009 - 07:04 AM

Write the program that tells what coins to give out for any
amount of change from one cent to 99 cents. For example, if
the amount is 86 cents, the output would be something like
the following

86 cents can be given as

3 quarter(s) 1 dime(s) and 1 penny

Use the coin denomination of 25 cents( quarters), 10
cents(dimes), and 1 cent(pennies). Do not use nickel( 5 cents) or half dollar ( 50 cents ) coins.

Is This A Good Question/Topic? 0
  • +

Replies To: C++ code

#2 moopet   User is offline

  • binary decision maker
  • member icon

Reputation: 345
  • View blog
  • Posts: 1,190
  • Joined: 02-April 09

Re: C++ code

Posted 10 October 2009 - 07:08 AM

View Postvinodjames, on 10 Oct, 2009 - 01:04 PM, said:

Write the program that tells what coins to give out for any
amount of change from one cent to 99 cents. For example, if
the amount is 86 cents, the output would be something like
the following

86 cents can be given as

3 quarter(s) 1 dime(s) and 1 penny

Use the coin denomination of 25 cents( quarters), 10
cents(dimes), and 1 cent(pennies). Do not use nickel( 5 cents) or half dollar ( 50 cents ) coins.


This was in bold at the top of the page when you were typing away:

Quote

READ THIS FIRST:

1. We will not do your homework for you! Do not ask us to give you code!
2. Use proper English. Correct grammar and spelling is required.
3. No Programming Questions in Introduce Yourself or the Caffeine Lounge
4. Use BBCode when posting. For example:
Paste Your Code Here

5. Give your topic a descriptive title, NOT "Help" or "Plz Help Me" or "I'm a noob"
6. Describe any errors you are encountering. Help us help you!
7. Search for your problem before posting a new topic (Example: c++ mortgage):


Please take note, then try again. Thank-you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1