Skip to main content

C Program to Arrange Numbers in Ascending Order

The following is the source code for a c program which arranges numbers in ascending order.

Comments
 The integer n is for capturing the value of arryA[j] before swapping the numbers. Failure to capture that number before its value changes will result in all numbers defaulting to the maximum or lowest number in the list depending on the condition stated in the if statement.

Comments

Popular posts from this blog