#include
int main()
{
int m[50],a,b,c;
printf("How many numbers you want to take :");
scanf("%d",&c);
printf("Enter the numbers : ");
for(a=0; a
scanf("%d",&m[a]);
printf("Enter the number you want to search :");
scanf("%d",&b);
for(a=0; a
{
if(m[a]==b)
{
printf("the number is %d",a+1);
break;
}
}
if(a==c)
printf("Not found\n");
printf("total number of elements : %d",c);
}