// Homework 22, problem 2: Sum the slice. // // Compute the sum of the numbers in scores and print: // Total: // // Run with: go run exercises/22/homework/02-sum-list.go package main import "fmt" func main() { scores := []int{12, 7, 24, 9, 30} // TODO: write your code here, in place of this placeholder line: fmt.Println("TODO: replace this line", scores) }