Sunday, July 12, 2009

Sample program of ARRAY in C which the user input integers then numbers will be sorted from highest to lowest.

Sample program of ARRAY in C which the user input integers then numbers will be sorted from highest to lowest.





Please help me. Thank you!!!

Sample program of ARRAY in C which the user input integers then numbers will be sorted from highest to lowest.
Please give us code you have tried and ask us what is wrong with it.





(this is not a homework cheaters forum)
Reply:what, you gotta write a bubble sort program? Shouldn't be hard if you pay attention at all in class. just compare with the number before and switch if they are in the wrong order, and bubble up until you don't need to switch. start at the top and work your way down.





That is, if that is the question.


No comments:

Post a Comment