Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Need Code in C# for

Need Code in C# for

Scheduled Pinned Locked Moved C#
csharptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aaditya2000
    wrote on last edited by
    #1

    "enumerate all the ways of making change for X cents." For example, if given 10 cents, the possibilities include: 10 pennies, 5 pennies and 1 nickel, 2 nickels, and 1 dime. You can assume the allowable denominations are pennies, nickels, dimes and quarters. cents : number of cents that you should enumerate the change possibilities for (for example, 82) Above C# Code used should be non-recursive.

    C 1 Reply Last reply
    0
    • A aaditya2000

      "enumerate all the ways of making change for X cents." For example, if given 10 cents, the possibilities include: 10 pennies, 5 pennies and 1 nickel, 2 nickels, and 1 dime. You can assume the allowable denominations are pennies, nickels, dimes and quarters. cents : number of cents that you should enumerate the change possibilities for (for example, 82) Above C# Code used should be non-recursive.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Wow - there's a piece of real world code if ever I saw one. I'm happy to do your homework. For $5. When the next assignment comes, and you can't do it because it assumes you know how to do this one, I'll charge you $10. And so on. OR, if your daddy isn't that rich and/or you actually want to be a software developer one day, think about the problem in terms of the tools you've been given ( i.e. what they taught you in class ), and if you get stuck, post your code and ask for help. Then I'll help for free. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

      G 1 Reply Last reply
      0
      • C Christian Graus

        Wow - there's a piece of real world code if ever I saw one. I'm happy to do your homework. For $5. When the next assignment comes, and you can't do it because it assumes you know how to do this one, I'll charge you $10. And so on. OR, if your daddy isn't that rich and/or you actually want to be a software developer one day, think about the problem in terms of the tools you've been given ( i.e. what they taught you in class ), and if you get stuck, post your code and ask for help. Then I'll help for free. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

        G Offline
        G Offline
        Gregg Holter
        wrote on last edited by
        #3

        As what a great mutant once said, "Sometimes the mind needs to discover things for itself." I certainly agree with Christian and will certainly encourage you to stretch your God given nuts!:)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups