Take two arrays, insert odd values into one and even into other, take another array which will arrange both of the arrays in ascending order.
Answers
Answered by
0
OK but why.............. .................nmmknggggg
Answered by
0
Answer:
Explanation:
C Exercises: Separate odd and even integers in separate arrays ... printf("Input the number of elements to be stored in the array :"); scanf("%d",&n); ... else { arr3[k] = arr1[i]; k++; } } printf("\nThe Even elements are : \n"); for(i=0;i<j;i++) ... Next: Write a program in C to sort elements of array in ascending order.
Similar questions