Sweety wrote:
plz reply,
thanks in advance.
bye
You cannot generate truly random numbers (without an external device) in
the mathematical sense of the word. You can only generate pseudorandom
numbers. For the discussion, google the topics "alternative rand()", etc.
My favourie, although very slow method for generating a sequence of
pseudorandoms in the interval [0,1] is
next_number := after_comma_part_of ((Pi+previous_number)^5)
--
Best regards,
Alex.
PS. To email me, remove "loeschedies" from the email address given.