Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/FizzBuzz/M4/fizzbuzz.m4
Normal file
10
Task/FizzBuzz/M4/fizzbuzz.m4
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
define(`for',
|
||||
`ifelse($#,0,``$0'',
|
||||
`ifelse(eval($2<=$3),1,
|
||||
`pushdef(`$1',$2)$5`'popdef(`$1')$0(`$1',eval($2+$4),$3,$4,`$5')')')')
|
||||
|
||||
for(`x',1,100,1,
|
||||
`ifelse(eval(x%15==0),1,FizzBuzz,
|
||||
`ifelse(eval(x%3==0),1,Fizz,
|
||||
`ifelse(eval(x%5==0),1,Buzz,x)')')
|
||||
')
|
||||
Loading…
Add table
Add a link
Reference in a new issue