Introduction - If you have any usage issues, please Google them yourself
Write a function sort (int A [], int n), the function is the function selection method for sorting an array of small to large, where n is the number of elements in the array A. In the main function of data input 10, call the function sort, and then outputs the sorted 10 data. (Input data: 6,8,9,1,2,5,4,7,3,18)