package main
import "fmt"
func main() {
for i := 1; i < 20; i++ {
if i%12 == 0 {
fmt.Println("fizzbuzz")
} else if i%4 == 0 {
fmt.Println("buzz")
} else if i%3 == 0 {
fmt.Println("fizz")
} else {
fmt.Println(i)
}
}
}
package main
import "fmt"
func main() {
for i := 1; i < 20; i++ {
if i%12 == 0 {
fmt.Println("fizzbuzz")
} else if i%4 == 0 {
fmt.Println("buzz")
} else if i%3 == 0 {
fmt.Println("fizz")
} else {
fmt.Println(i)
}
}
}
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.