Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Go - Level 6 lesson - 5

I'm unable to proceed next step.
Please share Answer.
by

1 Answer

sam5epi0l
Here you go:


package main
import "fmt"

func repeatHello(times int, msg string) {
for i:=0; i<times; i++ {
fmt.Println(msg)
}
}

func main() {
repeatHello(3, "I love Studytonight")
}

Login / Signup to Answer the Question.