C++ help please...logic on how to delete the smallest number does not make sense?
Easiest way that I can think of is to use another array of numbers. After sorting, copy all elements from 1 to max into new array (ignoring 0th i.e. 1st element which will the smallest)
No comments:
Post a Comment