i think if we input any data >  500 and < 1000
 then it will give 500+ number of 100
and also
if it is in 1000 or 2000
then 100*5 + 500 +1000( number of thousand accordingly )



On Sat, Sep 19, 2009 at 11:50 PM, eSKay <[email protected]> wrote:

>
> for example: if I draw 2000, what I get is
> 1000+500+100+100+100+100+100.
>
> What algorithm can be used to decide how to break up the entered
> amount?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to