C Program for Arrays Sorting and Merging


Make sure to include snapshot of your testing on each of the codes with:

valid input values, invalid input values, should report error messages. Using C :

a)  ask user to enter two integer arrays with maximum number of element not to exceed 20 
elements

b)  Display the two array in their originally entered format

c)  sort the two arrays in ascending order and display the sorted arrays

d)  create a new array by merging the two arrays

e)  Re-sort the new array and display the new array

f)  Find the following on the new array:

average of elements

Maximum of elements

Minimum of elements

Leave a Reply

Your email address will not be published. Required fields are marked *



  • File Format: .c