1a58f3b7af
Next goal will be, to implement enough to make this work
13 lines
189 B
Plaintext
13 lines
189 B
Plaintext
|
|
for n <- 1..=100 {
|
|
if n % 15 == 0 {
|
|
print("FizzBuzz")
|
|
} else if n % 5 == 0 {
|
|
print("Buzz")
|
|
} else if n % 3 == 0 {
|
|
print("Fizz")
|
|
} else {
|
|
print(n.to_string())
|
|
}
|
|
}
|