Computer Science, asked by gayatriprabhu23, 19 days ago

Explain sorting of array elements with program.

Answers

Answered by dnath9833Anj
1

Answer:

//Sort the array in ascending order. for (int i = 0; i < length; i++) { for (int j = i+1; j < length; j++) { if(arr[i] > arr[j]) {

Explanation:

have a great day

Similar questions