I am just providing the code block you need to complete the program -
void is_found(a, n , m)
{
// a is the array
// n is the size of the array
// m is the number to be searched
for(i=0;i<=n-1;i++)
{
if(a[i]==m)
{
c=1;
break;
}
}
if(c==0)
printf("\nThe number is not in the list");
else
printf("\nThe number is found");
}