#include void combine_list(double *list1,double *list2); void sort(double *cbl); int time,time1,cb_time;; int main (void) { double list1[50],list2[50]; int i,j,num,num1; char chr; i=0; j=0; time=0; time1=0; do { printf("Input the number into list1 :"); scanf("%d",&num); list1[i] = num; time++; i++ ; printf("more number (='o'=) ? : "); scanf("%*c%c",&chr); } while (chr !='n'); { printf("The number of element in list1 is %d\n\n",time); printf("\n"); } do { printf("Input the number into list2 :"); scanf("%d",&num1); list2[j] = num1; time1++; j++ ; printf("more number (-'o'-) ? : "); scanf("%*c%c",&chr); } while (chr !='n'); { printf("The number of element in list1 is %d\n\n",time1); printf("\n"); } combine_list(list1,list2); return 0; } void combine_list(double *list1,double *list2) { double cbl[100]; int i,j,z,a; i=0; j=0; z=0; a=0; cb_time = time + time1; for(z=0;zcbl[y]) { temp =cbl[y]; cbl[y]=cbl[x]; cbl[x]=temp; for (i=0;i