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
India Languages,
2 months ago
Math,
2 months ago
Geography,
2 months ago
English,
4 months ago
English,
4 months ago
Computer Science,
10 months ago
Math,
10 months ago