Hello
I need help on storing random generatored numbers into a string every time they get generated , im also to store the string i want , but not the amout of numbers that i select to be generated. I am using a for loop to do it, i was wondering how can i do it ?
public void generatorRandom(String o , int p)
{
int number;
Random l = new Random ();
for (int k=0; k<p; k++)
{
number = l.nextInt(10);
customerID = o + number;
}
}