What wrong with this program..........?
Any one help
#include<iostream>
#include<conio.h>
using namespace std;
int main(){
int n[5],m[5],b[10];
cout<<"Enter OOD Numbers in array:";
for(int i=0;i<5;i++)
cin>>n[i];
cout<<"Enter Even Numbers in 2nd array:";
for(int i=0;i<5;i++)
cin>>m[i];
for(int i=0;i<10;i++){
for(int j=0;j<i;j++)
{
if(n[j]<m[j])
b[i]=n[j];
else
b[i]=m[j];
}
}
for(int i=0;i<10;i++){
cout<<b[i]<<" ";
}
}