hello everyone
how do i sort an array of 6 number with out using any type of sort and then printing the array sorted?
i have a source text file with this numbers {10 , 5 , 20 , 3 , 50 , 40}.
i copied the text file into an array and now i need to sort it with out using any type of sort and then print it to a new file sorted.
any suggestion? may using with min/max but i cant figure out how...
10x
severman 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
severman 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
severman 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
jephthah 1,888 Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.