Question: Solve the following in masm615 Question: Create a function named as SEPARATION that separates numbers from the MAJOR_ARRAY into the above mentioned 9 sets and
Solve the following in masm615
Question: Create a function named as SEPARATION that separates numbers from the MAJOR_ARRAY into the above mentioned 9 sets and store them in separately declared small arrays named as ARRAY_1 and so on up to 9.
a. When you implement separation then, ARRAY_1 contains 5 numbers between 100 and 199. Similarly ARRAY_2 contains 5 numbers between 200 and 299 and so on. Hence the last array which ARRAY_9 contains 5 numbers between 900 and 999.
Create a function named as SORTING that sorts all 9 arrays in ascending order using bubble sort.
Create a function named as MERGING_ARRAYS that will merge all nine small arrays into one array named as MAJOR_SORTED_ARRAY.
a. While merging keep track that all data remain sorted but this time it is sorted in descending order.
Create a function named as DISPLAY that will print all the arrays created.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
