[Solved] Merge Sort Algorithm merging of two a arrays in third on a condition [closed]
[ad_1] #include <iostream> #include <cstdlib> #include <conio.h> using namespace std; int main() { int sizeofarray=0,i=0 ,j=0, num=0, answers[]={}; cout<<“enter the size of array”<<endl; cin>>sizeofarray;//take size of array from user int array1[sizeofarray]; int array2[sizeofarray]; cout<<“please enter a sorted array member of Array1″<<endl; //input of array element for ( i=0 ; i<=sizeofarray; i++) { cin>>array1[i]; } system(“CLS”); … Read more