njCombination | Japanese
    겂|INDEX|겈
Combination function

### Syntax

      #include <Ninja.h>
      int    njCombination(int n, int k);
      int    n
      int    k

### Arguments

n
  First argument
k
  Second argument

### Return Value

  Combination

### Error

  None

### Description

      Find out combination of extracting k units from n units ((nCk=n!/(k!*(n-k)!).

### Usage Example

  #include <NINJA.H> int n; ........... n = njCombination(4, 3); /* n = 4 */ ...........

### Remark

  None

### Related Items

njCombination |
    겂|INDEX|겈