ALGORITHMS


        AboutMe      MyCurrentLocation     Blog      GuestBook     Think Big- Possibilities are Endless     HOME

Algorithm for generating a Random Number : 

1. Get a random floating point value

2. Multiply the value by high

3. Convert the Value to an Integer

4. Add the value of low.


This algorithm doesn't seem to work fine for all ranges.Let me do some research and i will update this again