Go code
scores := [3]int{10, 20, 30}
fmt.Println(scores)Line-by-line explanation
[3]intmeans an array of exactly three integers.- The braces provide the values.
- Println displays the full array.
Expected output
[10 20 30]This is the expected result.