dust/examples/fizzbuzz.ds
2023-10-09 15:54:47 -04:00

16 lines
150 B
Plaintext

count = 1
while count <= 15 {
(output count)
if count % 3 == 0 {
(output 'fizz')
}
if count % 5 == 0 {
(output 'buzz')
}
count += 1
}