Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 573 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 573 Bytes

RNG Sorter

This program generates random numbers between a set range, then uses merge sort to arrange them in non-descending order. After displaying the sorted array, the program then displays how many times each integer within the provided range appeared.

The number of values is preset to 200 and their range preset to between 15 and 50, but these can be adjusted by changing the global variables ARRAYSIZE, LO, and HI.

🔶 Run Example

RNG_Sorter-cropped