1. 리턴값 func sumAndDiff(a int, b int) (int, int){ return a+b, a-b } func main() { sum, diff := sumAndDiff(8, 20) fmt.Println(sum, diff) } func sumAndDiff(a int, b int) (sum int, diff int){ sum = a+b diff = a-b return } func main(){ add, minus := sumAndDiff(44, 33) fmt.Println(add, minus) } //가변인자 사용하기 func sum(n ...int) int{ total := 0 for _, value := range n{ total += value } return total } func..