This project calculates the number of combinations (selection of items) using the mathematical formula
The program uses the standard formula:
-
Factorial Function: Computes
$n!$ iteratively. - Combination Function: Applies the formula using the factorial results.
Input:
$4! = 24$ $2! = 2$ $(4-2)! = 2$ -
Calculation:
$24 / (2 \times 2) = 6$
--- Kombinasyon Hesaplama ---
C(4, 2) isleminin sonucu: 6