mumps-demo/basics/FizzBuzz.m

2 lines
66 B
Mathematica

F F=1:1:100 W:F#3=0 "Fizz" W:F#5=0 "Buzz" W:(F#3>0)&(F#5>0) F W !