I have an array of `structs` that are populated with some values. I am prompting the user to input a value. I then need to check the array to see if the value the user has entered is contained in the array.  

If it is found, then the program will continue execution.  

If it is not found, then the program will prompt the user to enter a different value.

Below is the code I have written already. You can see I have tried to scan the array as part of the do-while loop condition, but this is not working.

```
do
{
    printf("Insert the number you want to search:\n");
    numero = getInputFromUser();  
} while (for (i = 0;  i < numAlunos; i++) // This is where I need help
             numero != vAlunos[i].numero)

```

How can I scan an array as part of a loop condition?