https://github.com/roggersanguzu/merge-sort
https://github.com/roggersanguzu/merge-sort
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/roggersanguzu/merge-sort
- Owner: roggersanguzu
- License: mit
- Created: 2023-08-04T23:17:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T12:07:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T18:52:38.169Z (9 months ago)
- Language: C#
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Merging and Sorting
Number Sorting Machine.
This C# console application implements a number sorting machine that sorts a given array of numbers using the Merge Sort algorithm. The program ensures user access by requiring a password before allowing input and execution.How to Use it
Clone the repository to your local machine:
Open the solution in your C# development environment (e.g., Visual Studio).Build the solution to resolve dependencies.
Run the program.
You will be prompted to enter a password to access the number sorting machine. The default password is set as "4676".
Upon successful login, the program will prompt you to enter the number of elements to be stored in the array (up to 100).
Enter the numbers one by one as prompted.
The program will display the original numbers in the array.
The program will then apply the Merge Sort algorithm to sort the numbers.
The sorted numbers will be displayed as the final output.
Security.
The program employs a password system to ensure only authorized users can access the number sorting machine. The default password is set to "4676," but you can modify it as needed by changing the pass variable in the word() method.Contributing
If you find any issues or want to suggest improvements, feel free to open an issue or submit a pull request.