Menu
×
×
Correct!
Exercise:Return the addition of 5 + x.
package main
import ("fmt")
func myFunction(x int) int {
return 5 + x
}
func main() {
fmt.Println(myFunction(3))
}
Not CorrectClick here to try again. Correct!Next ❯package main import ("fmt") func myFunction(x int) int {5 + x } func main() { fmt.Println(myFunction(3)) } |