#include using namespace std; int linearSearch(int a[],int n,int key){ for(int i=0;i>n; int a[n]; for(int i=0;i>a[i]; } cout<<"enter key"<>key; int pos = linearSearch(a,n,key); if(pos == -1){ cout<<"key not found"<