This C++ program shows you how to calculate the NCR and NPR of two given numbers. NCR is basically a combination number i.e. if you had N number of distinct objects then taking R objects at a time, NCR determines how many combinations are possible. In NPR, we get the number of permutations i.e. the combinations but with the sequence being also taken into account.
