#include <stdio.h>
int main()
{
int arr[100],i,j,num,num1,num2=0;
printf("Enter the number of elements of the array:");
scanf("%d",&num);
printf("Enter the elements of the array");
for(i=0;i<num;i++)
{
scanf("%d",&arr[i]);
}
printf("Enter the element to be found:");
scanf("%d",&num1);
for(i=0;i<num;i++)
{
if(arr[i]==num1)
{
num2++;
}
else
{
num2=num2+0;
}
}
if(num2==0)
{
printf("The element is not found");
}
else
{
printf("The element is found");
}
return 0;
}