I have to generate random 100 integers from an array belonging to the interval [0 .. 132] and i have to output those which do not belong to the interval (26 .. 100]
I don't know how to output those which do not belong to the interval. I hope someone can give me some guidance. I'm struggling to find information on internet
My first part of the code is:
Random rand = new Random();
for (int i=1; i <=100; i++)
{
int x = rand.Next(0, 132);
}