#include <stdio.h>
int main()
{
int a[50],i,n,c=0,sn;
printf(" How many numbers you want to enter?: ");
scanf("%d",&n);
printf("\n Enter %d numbers: \n\n ",n);
for(i=0;i
printf("Enter Number to be Searched : ");
scanf("%d",&sn);
for(i=0;i
if(sn==a[i])
{
printf("\nNumber '%d' Found at Position %d.",sn,i+1);
c=c+1;
}
}
if(c==0)
printf("\nNumber '%d'is Not Found.",n);
return 0;
}