**Problem Analysis:**

The problem is to calculate the factorial of a given number and find out permutation and combination using the factorial calculated.

**Code:**

**Outputs:**

Enter a number(n) to calculate it’s factorial and r such n>r

5

2

5! = 120

ncr=10

npr=20

## About Programmingfaster

We the teams of programming faster managed to provide an effective information about the codes of different programming languages.Hope you will learn and understand the codes fast and easy.
It's absolutely free, expanding and precise. Our main target is to help those new starters and aid them as far as possible to pave their future in the area of programming. Hoping support and recommendations!