1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-05-31 18:41:30 +00:00
millfork/examples/crossplatform/fizzbuzz_jp.mfk

20 lines
358 B
Plaintext
Raw Permalink Normal View History

import stdio
void main() {
2019-07-30 13:30:18 +00:00
ensure_mixedcase()
byte i
for i,1,to,100 {
if i %% 15 == 0 {
putstrz("フィズバズ"z)
} else if i %% 3 == 0 {
putstrz("フィズ"z)
} else if i %% 5 == 0 {
putstrz("バズ"z)
} else {
putword(i)
}
putchar(' ')
}
}