actually there are no random numbers, they are always "psuedo random". the criteria can be anything to generate. one is to take the current time. At any moment, time can't be same hence the numerical value of "current time" provides a great help in that direction.
although to generate random numbers mean, variance are also taken into account.rand() function is not a good random number generator function. it generates the same list every time you call main().you have to do some manipulations to look like random. -- 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?hl=en.
