The QBasic Forum      Other Subforums, Links and Downloads
 Return to Index  

Choosing a random element from a list of unknown length

November 2 2009 at 3:11 PM
qbguy  (no login)

The numbers are in a data structure such that so you must process them sequentially (e.g. a singly linked list or being read from standard input), rather than taking the length and doing the obvious solution.

 
 Respond to this message   
Responses