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

LEVEL 6 >LESSON 1

Not able to run the code. Please help
by

2 Answers

79stjsy
Can someone plz reply
iamabhishek
Here is the answer:

package main
import "fmt"

func takeABreak() {
fmt.Println("Yeah! It's my break time.")
}
func main() {
for i:=1; i<=12; i++ {
if i % 4 == 0 {
takeABreak()
}
}
}

Also, on the Forum, you can easily find answers to questions asked previously. May be some one asked the same question. So you should check it out. You can use this link for GO language.

https://www.studytonight.com/forum/?tag=go-course

Login / Signup to Answer the Question.