Hi 
 
 Guessing this kind of thing has been used by many COBOL programmers. 
 
 
 There is a TABLE of 10-digit numbers. 
 User enters (ACCEPT) how many such numbers they require. 
 
 an ARRAY of 5 x 2-digit RANDOM numbers is loaded. 
 
 That ARRAY ( 10-digits ) will be added to the TABLE. 
 
 
 Seems easy enough, but DUPLICATES in an ARRAY need to be prevented. 
 
 I suspect (hope) there might be an algorithm that will cope 
 with this in one go ??? 
 
 
 Thanks in advance. 
 
 cheers 
  
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.