package main
|
|
|
|
import (
|
|
"fmt"
|
|
"strconv"
|
|
)
|
|
|
|
func main() {
|
|
|
|
var line string
|
|
|
|
for i := 1; i <= 100; i++ {
|
|
if i%3 == 0 {
|
|
line += "Fizz"
|
|
}
|
|
if i%5 == 0 {
|
|
line += "Buzz"
|
|
}
|
|
if len(line) == 0 {
|
|
line = strconv.Itoa(i)
|
|
}
|
|
fmt.Println(line)
|
|
line = ""
|
|
}
|
|
|
|
}
|