22 lines
225 B
V
22 lines
225 B
V
|
fn main() {
|
||
|
mut s := ''
|
||
|
|
||
|
for n in 1..101 {
|
||
|
if n % 3 == 0 {
|
||
|
s += 'Fizz'
|
||
|
}
|
||
|
|
||
|
if n % 5 == 0 {
|
||
|
s += 'Buzz'
|
||
|
}
|
||
|
|
||
|
if s == '' {
|
||
|
println(n)
|
||
|
} else {
|
||
|
println(s)
|
||
|
}
|
||
|
|
||
|
s = ''
|
||
|
}
|
||
|
}
|