I have two loops one for inputting numbers and the other for outputting all the numbers in the array except those entered in the first loop I can do this providing the numbers are it order i.e. 1 2 3...
I need to do this in random orderi've got.
int store[25];
int loop,num=0;
for (loop=0;loop<25;loop++)
{
scanf("%d",&store[loop]);
fflush(stdin);
}
for(num=0;num<25;num++)
{
num1++;
if(num1==store[num])
continue;
fputs(store[num],file_ptr);
}