+ 1
C++.Net program to input and sort in up to 100 integers in ascending order
1 Respuesta
+ 1
Depending on your skill level, you can explore different options for doing that.
At a beginner level, the easiest solution is to "take" the maximum in the array (formed from the input), then put it into another array which represents the sorted array. Do this till the input array is empty
For better algorithms, you can explore the sorting algorithms explained here on Sololearn
https://www.sololearn.com/learn/774/?ref=app