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
2019-07-30 15:30:18 +02:00

20 lines
358 B
Plaintext

import stdio
void main() {
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(' ')
}
}