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)

13th Apr 2022, 1:54 PM
Emmanuel Dalyop
Emmanuel Dalyop - avatar
3 Answers
+ 1
No
13th Apr 2022, 2:00 PM
Simba
Simba - avatar
+ 1
func calc(x int) (int ,int) { return (x*2 , x * x) }
12th Jul 2022, 4:05 PM
Hamno
0
Show us what you tried
13th Apr 2022, 2:05 PM
Paul K Sadler
Paul K Sadler - avatar