Skip to content

Generate an array of random numbers, then sort them with merge sort

Notifications You must be signed in to change notification settings

flwrr/RNG-Sorter

Repository files navigation

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

About

Generate an array of random numbers, then sort them with merge sort

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published