#include using namespace std; int main(){ cout<<"Enter your number"; int key,n; int list[20]; int linear_search(int[],int,int); cout<<"enter the size of the array\n"; cin>>n; for(int i=0;i>list[i]; cout<<"your array elements are\n"; for(int i=0;i>key; int result=linear_search(list,key,n); if(result==-1){ cout<<"the item is not found"; } else cout<<"the item is found in the index :"<