Contact: aviboots(AT)netvision.net.il
41,593 questions
54,235 answers
573 users
package main import ( "fmt" "sort" ) func main() { arr := []int{14, 4, 1, 5, 90, 2, 6, 89, 3, 7} // Sort the array in ascending order sort.Ints(arr) fmt.Println("Sorted array:", arr) } /* run: Sorted array: [1 2 3 4 5 6 7 14 89 90] */