0
How do we sort the array either in descending or ascending order?
sorting
2 odpowiedzi
+ 1
most languages have a built in function to sort arrays, but if you want to make your own sorter, which is a fun project, here is a good read
https://www.sololearn.com/learn/649/?ref=app
I don't know C++, but this looks like it could get you started on the right path
http://roseindia.net/c-tutorials/c-array-sort.shtml
+ 1
thanks