I am doing my array program and i have to use a linear funct and i am all screwed up help?!

int linearSearch(const int array[], int key, int size){

for (int n=0; n<size; n++){

if(array[n]==key){

return array[n];

n++;}}

return -1;}

int main(int argc, char* argv[])

{const int size=20;

int numbers[size];

int numbs[size];

int i,j;

for(i=0; i<size; i++){

cout<<"Enter a number: "<<flush;

cin>>numbers[i];}

cout <<"Here is your array: \n";

for(i=0; i<size; i++){

cout<<numbers[i]<<" ";}

cout <<"\nHere are you nonrepeating numbers: \n";

for(i=0;i<size;i++){

j=linearSearch(numbers,i,size);

if (j!=-1){

numbers[i]=j;

cout <<numbs[i]<<" ";}}

return 0;

}

Fear the mullet!!!!