After compiling the program, total 12 errors apreared. Please help me to resolve. All errors are shown in attachment.
#include<iostream.h>
#include<conio.h>
void Merge(int[],int,int[],int);
void main()
{
int A[50],B[50],C[50],MN=0,M,N,z;
clrscr();
cout<<"How many elements do U want to create first array with?(max.50).....";
cin>>M;
cout<<"\n Enter first array\'s elememts[ascending].....\n";
for(int i=0;i<M;i++)
{
cin>>A[i];
}
cout<<"\n How many elements do U want to create second array with?(max.50).....";
cin>>N;
MN=M+N;
cout<<"\n Enter second array\'s elements[descending].....\n";
for(int i=0;i<N;i++)
{
cin>>B[i];
}
Merge(A,M,B,N);
cout<<"\n\n The sorted array is as shown below.....\n";
for(int i=0;i<MN;i++)
cout<<C[i]<<" ";
cout<<endl;
cin>>z;
}
void Merge(int A[],int M,int B[],int N)
{
int a,b,c;
While(A>=0&&B<n)
{
if(A<B)
C=A;
A--;
C--;
else
C=B;
B++;
C--;
if(A<0)
{
while(B<n)
C=B;
B++;
C--;
if(A<0)
{
while(B<n)
C=B;
B++;
C--;
if(B>=n)
{
While(A>=0)
C=A;
C--;
A--;
return;
}
Thank you in advance.