Challenge 3 — Solution Task: Create a slice of ints called scores with at least 5 values. Write a loop that calculates both the total and the average (total / number of scores, as a proper float64 result), printing both using Printf with %.2f. package main import "fmt" func main() { scores := []int{88, 72, 95, 67, 81} total := 0 for _, score := range scores { total += score } average := float64(total) / float64(len(scores)) fmt.Printf("Total: %.2f\n", float64(total)) fmt.Printf("Average: %.2f\n", average) } Expected output: Total: 403.00 Average: 80.60 Notes: - total is accumulated as a plain int, since all the scores are ints — only when calculating the average is a conversion to float64 actually needed, on both total and len(scores), otherwise the division would truncate (Chapter 3). - %.2f always shows exactly 2 decimal places, even for a whole number like 403, which is why Total prints as "403.00" rather than just "403". - len(scores) works on a slice exactly the same way it worked on arrays and strings earlier in this chapter.