i am using vb dot net 2003.
I want to store randomly generated numbers in an array. The Numbers are declared as integers. The amount of numbers generated will not be constants so i can not initialize the array before hand. However the numbers generated will be from 1 to 5000.
After the randomly generated numbers are generated i will ask the user to input a "number" , then i will check using a loop if the number stored in the above mentioned array (the one which holds the randomly generated numbers) matches the value input. i know i have to use a loop. But do notknow how this would be done.
i can not figure out how to do this please help. thank you.