/*LAB - 01:= Write a program which finds the locattion of your search item*/
#include<stdio.h>
#include<conio.h>
search(); //Search Fuction
void main (void)
	{
	clrscr();
	printf("\t\t\t\"LAB - 01\"\n");
	printf("\t\t\t==========\n\n");
	search();
	getche();
}

search()
	{
	int A,num,loc=0;
	int Ary[5];
	for (A=0;A<5;A++)
		{
		printf("Enter the Numbers to Store : ");
		scanf("%d",&Ary[A]);
		}
	printf("\n\n\t\t\"Number is Stored\"\n");
	clrscr();
	printf("\nEnter the Number to Search : ");
	scanf("%d",&num);
	for (A=0;A<5;A++)
		if (num==Ary[A])
		loc=A;
		printf("The Location is %d and the Number is %d",loc+1,num);
		else printf("\nThe Number not Found");
	}
