Help w/Range code

Discussion in 'C++' started by dave, Nov 9, 2003.

  1. dave

    dave Guest

    Hello Everyone

    I need help coding distrubition of a range. I am not sure how to
    mathematically code the distribution part. Example: say you have a
    price range of a $100, I would like to print out this range at a
    specific dollar value that I choose, say at an amount of $10.00
    each(per unit) or whatever dollar amount I choose until the $100 is
    gone and also any left over portion. Any suggestions on how to solve
    this. I am not sure if I should use a loop and how mathematically to
    approach this , I would greatly appreciate the help.
    dave, Nov 9, 2003
    #1
    1. Advertising

  2. Re: Help w/Range code [OT]

    dave wrote:
    > Hello Everyone
    >
    > I need help coding distrubition of a range. I am not sure how to
    > mathematically code the distribution part. Example: say you have a
    > price range of a $100, I would like to print out this range at a
    > specific dollar value that I choose, say at an amount of $10.00
    > each(per unit) or whatever dollar amount I choose until the $100 is
    > gone and also any left over portion. Any suggestions on how to solve
    > this. I am not sure if I should use a loop and how mathematically to
    > approach this , I would greatly appreciate the help.



    There are about 4 different models that may be inchangeable in different
    ranges. You need to be far more specific.

    This also seems to have very little to do with C++.
    Gianni Mariani, Nov 9, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    46
    Views:
    943
    Antoon Pardon
    Jul 25, 2006
  2. Lambda
    Replies:
    2
    Views:
    381
    James Kanze
    Jul 16, 2008
  3. Tomoyuki Kosimizu

    Range does not take an Range object.

    Tomoyuki Kosimizu, Nov 25, 2003, in forum: Ruby
    Replies:
    3
    Views:
    137
    Tomoyuki Kosimizu
    Nov 27, 2003
  4. David Bird
    Replies:
    1
    Views:
    193
    Tiago Macedo
    Jun 23, 2008
  5. Joey Zhou
    Replies:
    5
    Views:
    228
    Joey Zhou
    Apr 15, 2011
Loading...

Share This Page