0
GoLang Module Quiz
Fill in the blanks to declare a function that takes one argument and returns its double and its square. CODE: func calc(x int) (int __ __) { return (x*2 __ x __ x) } !!(__ Represents the places to fill)
3 Answers
+ 1
No
+ 1
func calc(x int) (int ,int) {
return (x*2 , x * x)
}
0
Show us what you tried