1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-01 05:05:32 +00:00
millfork/examples/crossplatform/fizzbuzz_jp.mfk

20 lines
358 B
Plaintext
Raw 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(' ')
}
}