このディレクトリの索引
%  
%  @Di_GlassさんによるFizzBuzz
%  
%  2013/11/04

fizzbuzz(0).
fizzbuzz(N):-N1 is N-1,
    F is N/3, integer(F),
    B is N/5, integer(B),
    fizzbuzz(N1),
    print('FizzBuzz'),nl.
fizzbuzz(N):-N1 is N-1,
    F is N/3, integer(F),
    fizzbuzz(N1),
    print('Fizz'),nl.
fizzbuzz(N):-N1 is N-1,
    F is N/5, integer(F),
    fizzbuzz(N1),
    print('Buzz'),nl.
fizzbuzz(N):-N1 is N-1,
    fizzbuzz(N1),
    print(N),nl.