package main import "fmt" func main() { hits := 0 for i := 1; i <= 50; i++ { if i%7 == 0 { hits++ } } fmt.Println(hits) }