Introduction
Program that prints out all numbers between 1 and 100 that are divisible by 3:
package main
import "fmt"
func main() {
// your code here
}
package main
import "fmt"
func main() {
for i := 1; i <= 100; i++ {
if i % 3 == 0 {
fmt.Println(i)
}
}
}
PreviousNextRelated