and to be clear..i just need a simple c program..just enough for a 1st year student like me..Ü
#include<stdio.h>
#include<conio.h>
void MERGE(int first[],int second[]);
int array_first[5],array_second[5];
int i,j;
void main()
{
clrscr();
printf("\n\nenter first 5 values:\n");
{for (i=0;i<5;i++)
scanf("%d",&array_first[i]);}
printf("enter second 5 values:\n");
{for (j=0;j<5;j++)
scanf("%d",&array_second[j]);}
printf("first set:");
for (i=0;i<5;i++)
{printf("%d\t",array_first[i]);}
printf("\nsecond set:");
for (j=0;j<5;j++)
{printf("%d\t",array_second[j]);}
MERGE (array_first,array_second);
getch();
}
void MERGE(int first[],int second[])
{?????????????}
and i need these to be sorted..but i'm fine with the sorting..i just need the ones to be sorted..Ü
im sorry for the disturbance..and for the not-so-clear problem i gave you..