The code below contains the function Evens(). The function returns true if all the given numbers are even, otherwise it returns false. The parameter of the function is a slice. You need to rewrite the code using a variadic parameter.
func Evens(numbers []int) bool {
for _, n := range numbers {
if n%2 != 0 {
return false
}
}
return true
}In the input, you get three numbers. You need to output the result that the function returns.